summaryrefslogtreecommitdiffstats
path: root/chinese/phpbb3-tw/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'chinese/phpbb3-tw/Makefile')
-rw-r--r--chinese/phpbb3-tw/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/chinese/phpbb3-tw/Makefile b/chinese/phpbb3-tw/Makefile
index cf36200..61f2d57 100644
--- a/chinese/phpbb3-tw/Makefile
+++ b/chinese/phpbb3-tw/Makefile
@@ -41,6 +41,8 @@ NO_STAGE= yes
PHPBBDIR= ${WWWDOCROOT}/${PHPBBURL}
PKGOPTS= ${FILESDIR}/pkg-opts
+.include <bsd.port.options.mk>
+
options:
@ ${ECHO_MSG} "===> Build options for ${PKGNAME}:"
@ ${CAT} ${PKGOPTS}
@@ -63,7 +65,7 @@ do-install:
@ ${ECHO_CMD} '@exec ${CHMOD} -R 0755 ${PREFIX}/${PHPBBDIR}' >> ${TMPPLIST}
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@ ${MKDIR} ${DOCSDIR}
@ cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${DOCSDIR}
OpenPOWER on IntegriCloud