aboutsummaryrefslogtreecommitdiffstats
path: root/www/zend-framework1/Makefile
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-10-01 22:13:20 +0800
committerwg <wg@FreeBSD.org>2013-10-01 22:13:20 +0800
commit0d0a72f62effde70e5d1a0eb7fe0c6a92fa71da5 (patch)
tree5713085b5891433e82e0bba04695075f5fd1b000 /www/zend-framework1/Makefile
parentd83a63394d74988e1da14610c327858ba1f1ed24 (diff)
downloadfreebsd-ports-graphics-0d0a72f62effde70e5d1a0eb7fe0c6a92fa71da5.tar.gz
freebsd-ports-graphics-0d0a72f62effde70e5d1a0eb7fe0c6a92fa71da5.tar.zst
freebsd-ports-graphics-0d0a72f62effde70e5d1a0eb7fe0c6a92fa71da5.zip
www/zend-framework1: fix without DOCS
- Fix without DOCS, it is an extra distfile
Diffstat (limited to 'www/zend-framework1/Makefile')
-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>