aboutsummaryrefslogtreecommitdiff
path: root/security/knock
diff options
context:
space:
mode:
authorSofian Brabez <sbz@FreeBSD.org>2013-03-15 08:33:39 +0000
committerSofian Brabez <sbz@FreeBSD.org>2013-03-15 08:33:39 +0000
commit8d2859bce079ccdfbb9ec01388adb756a0cdb937 (patch)
tree66d12907c124043a1f75e4b41e359b8c3b3e1d4b /security/knock
parent0f3653f9cae9ea8f492b937d5fae64e5ce886ef0 (diff)
downloadports-8d2859bce079ccdfbb9ec01388adb756a0cdb937.tar.gz
ports-8d2859bce079ccdfbb9ec01388adb756a0cdb937.zip
Notes
Diffstat (limited to 'security/knock')
-rw-r--r--security/knock/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/security/knock/Makefile b/security/knock/Makefile
index cb1c1399ee53..f08640b41613 100644
--- a/security/knock/Makefile
+++ b/security/knock/Makefile
@@ -21,8 +21,8 @@ GNU_CONFIGURE= yes
CFLAGS+= -I${LOCALBASE}/include
-OPTIONS_DEFINE= CLIENT SERVER
-OPTIONS_DEFAULT= CLIENT SERVER
+OPTIONS_SINGLE= SG1
+OPTIONS_SINGLE_SG1= CLIENT SERVER
.include <bsd.port.options.mk>
@@ -41,11 +41,6 @@ MAN1+= knock.1
PLIST_FILES+= bin/knock
.endif
-pre-configure:
-.if ${PORT_OPTIONS:MSERVER} && ${PORT_OPTIONS:MCLIENT}
-IGNORE= at least one component must be selected for installation
-.endif
-
post-patch:
@${REINPLACE_CMD} -e "s#%%PREFIX%%#${PREFIX}#g" \
-e "s#eth0#fxp0#g" \