aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/zend-framework1/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/zend-framework1/Makefile b/www/zend-framework1/Makefile
index a38f5ca5c17..6cea90d9037 100644
--- a/www/zend-framework1/Makefile
+++ b/www/zend-framework1/Makefile
@@ -103,10 +103,11 @@ do-install:
@${FIND} ${STAGEDIR}${EXAMPLESDIR} -type f -print0 | ${XARGS} -0 ${CHMOD} 644
@${FIND} ${STAGEDIR}${EXAMPLESDIR} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
-post-install:
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}/manual
@cd ${WRKSRC} && ${COPYTREE_SHARE} "INSTALL.txt README.txt" ${STAGEDIR}${DOCSDIR}
@cd ${WRKSRC}/documentation/manual/core/en && \
${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/manual
+.endif
.include <bsd.port.post.mk>