aboutsummaryrefslogtreecommitdiff
path: root/net/netselect
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-07-20 21:06:08 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-07-20 21:06:08 +0000
commit4e7018b72b8faf0df17ae27d8cf07221adede9bd (patch)
treeb62e6e0d26bb19503d3ca6ac31b3a2ce1008f6e9 /net/netselect
parent8983a88800ffde4ec1dfa38e8bf845f3395e1f6c (diff)
downloadports-4e7018b72b8faf0df17ae27d8cf07221adede9bd.tar.gz
ports-4e7018b72b8faf0df17ae27d8cf07221adede9bd.zip
Notes
Diffstat (limited to 'net/netselect')
-rw-r--r--net/netselect/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/net/netselect/Makefile b/net/netselect/Makefile
index 06f4d068623b..0131b0728daa 100644
--- a/net/netselect/Makefile
+++ b/net/netselect/Makefile
@@ -19,11 +19,12 @@ PLIST_FILES= bin/${PORTNAME}
WRKSRC= ${WRKDIR}/${PORTNAME}
-OPTIONS= SUID "Install with the sticky bit (mode 4110)" off
+OPTIONS_DEFINE= SUID
+SUID_DESC= Install with the sticky bit (mode 4110)
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_SUID)
+.if ${PORT_OPTIONS:MSUID}
BINMODE= 4110
.else
BINMODE= 0100
@@ -35,4 +36,4 @@ do-build:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>