svn commit: r301242 - head/net/netselect
Baptiste Daroussin
bapt at FreeBSD.org
Fri Jul 20 21:06:08 UTC 2012
Author: bapt
Date: Fri Jul 20 21:06:08 2012
New Revision: 301242
URL: http://svn.freebsd.org/changeset/ports/301242
Log:
Convert to OptionsNG
Modified:
head/net/netselect/Makefile
Modified: head/net/netselect/Makefile
==============================================================================
--- head/net/netselect/Makefile Fri Jul 20 20:32:20 2012 (r301241)
+++ head/net/netselect/Makefile Fri Jul 20 21:06:08 2012 (r301242)
@@ -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>
More information about the svn-ports-all
mailing list