aboutsummaryrefslogtreecommitdiffstats
path: root/lang/bf2c/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/bf2c/Makefile')
-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