svn commit: r306017 - head/net/dhcprelya
Sergey Matveychuk
sem at FreeBSD.org
Wed Oct 17 15:54:38 UTC 2012
Author: sem
Date: Wed Oct 17 15:54:37 2012
New Revision: 306017
URL: http://svn.freebsd.org/changeset/ports/306017
Log:
- Add LICENSE
- Convert to a new OPTIONS format
Feature safe: yes
Modified:
head/net/dhcprelya/Makefile
Modified: head/net/dhcprelya/Makefile
==============================================================================
--- head/net/dhcprelya/Makefile Wed Oct 17 15:50:53 2012 (r306016)
+++ head/net/dhcprelya/Makefile Wed Oct 17 15:54:37 2012 (r306017)
@@ -13,6 +13,8 @@ MASTER_SITES= http://sem.semmy.ru/
MAINTAINER= sem at FreeBSD.org
COMMENT= Lightweight DHCP relay agent. Yandex edition
+LICENSE= BSD
+
USE_RC_SUBR= dhcprelya
PORTDOCS= README
@@ -20,11 +22,12 @@ PORTDOCS= README
PLIST_FILES= sbin/${PORTNAME} lib/${PORTNAME}_log_plugin.so \
lib/${PORTNAME}_option82_plugin.so
-OPTIONS= RADIUS_PLUGIN "build radius plugin" off
+OPTIONS_DEFINE= RADIUS_PLUGIN
+RADIUS_PLUGIN_PLUGIN_DESC= build radius plugin
.include <bsd.port.options.mk>
-.if defined(WITH_RADIUS_PLUGIN)
+.if ${PORT_OPTIONS:MRADIUS_PLUGIN}
PLIST_FILES+= lib/${PORTNAME}_radius_plugin.so
LIB_DEPENDS= freeradius-client.2:${PORTSDIR}/net/freeradius-client
MAKE_ARGS= -DWITH_RADIUS_PLUGIN
More information about the svn-ports-head
mailing list