aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2012-10-24 05:16:56 +0800
committerrene <rene@FreeBSD.org>2012-10-24 05:16:56 +0800
commit36d692d4c5c0bbead529feb791ad7ad6b6458e08 (patch)
treea1d3d2fc030d06992eadaebd1aa0a1ff3d07639c
parente06a45075f478377d0e11152c93bde253b2c4e68 (diff)
downloadfreebsd-ports-gnome-36d692d4c5c0bbead529feb791ad7ad6b6458e08.tar.gz
freebsd-ports-gnome-36d692d4c5c0bbead529feb791ad7ad6b6458e08.tar.zst
freebsd-ports-gnome-36d692d4c5c0bbead529feb791ad7ad6b6458e08.zip
Use optionsNG syntax for NOPORTDOCS
Feature safe: yes
-rw-r--r--lang/bf2c/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/bf2c/Makefile b/lang/bf2c/Makefile
index 620b862a5a7a..ffb776173c24 100644
--- a/lang/bf2c/Makefile
+++ b/lang/bf2c/Makefile
@@ -14,11 +14,13 @@ LICENSE= BSD
USE_XZ= yes
USE_GMAKE= yes
+.include <bsd.port.options.mk>
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bf2c ${PREFIX}/bin
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif