diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-06-12 21:42:32 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-06-12 21:42:32 +0000 |
commit | 9010280b855a8f663dc0899ba61ab950e6b515da (patch) | |
tree | ade0e2be591e771231576c7a69bfc8a5cf0bc252 /graphics/acidwarp/Makefile | |
parent | 06a3e062ca8655d412fd71bf237d2cbcb5d17726 (diff) |
Conver to new options framework
Notes
Notes:
svn path=/head/; revision=299156
Diffstat (limited to 'graphics/acidwarp/Makefile')
-rw-r--r-- | graphics/acidwarp/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/graphics/acidwarp/Makefile b/graphics/acidwarp/Makefile index a1d4494e1e2c..f4426003e150 100644 --- a/graphics/acidwarp/Makefile +++ b/graphics/acidwarp/Makefile @@ -23,11 +23,13 @@ WRKSRC= ${WRKDIR}/${PORTNAME} PLIST_FILES= bin/acidwarp PORTDOCS= README TODO Thanks -OPTION= SETUID "Install with setuid bit set" on +OPTIONS_DEFINE= SETUID DOCS +OPTIONS_DEFAULT= SETUID +SETUID_DESC= Install with setuid bit set -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if !defined(WITHOUT_SETUID) +.if ${PORT_OPTIONS:MSETUID} BINMODE= 4555 .endif @@ -36,11 +38,11 @@ post-extract: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/acidwarp ${PREFIX}/bin -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} .endfor .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |