svn commit: r306329 - head/lang/bas2tap
Rene Ladan
rene at FreeBSD.org
Tue Oct 23 21:14:21 UTC 2012
Author: rene
Date: Tue Oct 23 21:14:20 2012
New Revision: 306329
URL: http://svn.freebsd.org/changeset/ports/306329
Log:
Use optionsNG syntax for NOPORTDOCS
Feature safe: yes
Modified:
head/lang/bas2tap/Makefile (contents, props changed)
Modified: head/lang/bas2tap/Makefile
==============================================================================
--- head/lang/bas2tap/Makefile Tue Oct 23 21:13:33 2012 (r306328)
+++ head/lang/bas2tap/Makefile Tue Oct 23 21:14:20 2012 (r306329)
@@ -18,12 +18,14 @@ NO_WRKSUBDIR= yes
PORTDOCS= ${PORTNAME}.doc
PLIST_FILES= bin/${PORTNAME}
+.include <bsd.port.options.mk>
+
do-build:
${CC} ${WRKSRC}/${PORTNAME}.c -o ${WRKSRC}/${PORTNAME} -lm ${CFLAGS}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-.ifndef NOPORTDOCS
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
More information about the svn-ports-all
mailing list