aboutsummaryrefslogtreecommitdiff
path: root/net/dhcprelya
diff options
context:
space:
mode:
Diffstat (limited to 'net/dhcprelya')
-rw-r--r--net/dhcprelya/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/net/dhcprelya/Makefile b/net/dhcprelya/Makefile
index 44c58e1e40b6..67e2522dff84 100644
--- a/net/dhcprelya/Makefile
+++ b/net/dhcprelya/Makefile
@@ -13,6 +13,8 @@ MASTER_SITES= http://sem.semmy.ru/
MAINTAINER= sem@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