aboutsummaryrefslogtreecommitdiff
path: root/net/dhcprelya
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2012-10-17 15:54:37 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2012-10-17 15:54:37 +0000
commit5420ed0bdcde928e2687c32f2224323602052010 (patch)
treed436c3860cce6d574f182a2d0a3feab0a9abd687 /net/dhcprelya
parentc310017dab7191d00993976eb205c086cf606881 (diff)
downloadports-5420ed0bdcde928e2687c32f2224323602052010.tar.gz
ports-5420ed0bdcde928e2687c32f2224323602052010.zip
Notes
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