aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-03-01 00:20:44 +0800
committermiwi <miwi@FreeBSD.org>2014-03-01 00:20:44 +0800
commit62340dd8f932a4754d993bffa29133a0d128f6d3 (patch)
treef8091716c29f4d5996e4ed4c782b436b44575b81 /www
parentd9aa8e878a55dda4a5fff958d30b1ef33676ec83 (diff)
downloadfreebsd-ports-graphics-62340dd8f932a4754d993bffa29133a0d128f6d3.tar.gz
freebsd-ports-graphics-62340dd8f932a4754d993bffa29133a0d128f6d3.tar.zst
freebsd-ports-graphics-62340dd8f932a4754d993bffa29133a0d128f6d3.zip
- Stage support
Diffstat (limited to 'www')
-rw-r--r--www/impresscms/Makefile16
1 files changed, 6 insertions, 10 deletions
diff --git a/www/impresscms/Makefile b/www/impresscms/Makefile
index 0c2d8260484..977c8f87ec3 100644
--- a/www/impresscms/Makefile
+++ b/www/impresscms/Makefile
@@ -16,19 +16,15 @@ NO_WRKSUBDIR= yes
NO_BUILD= yes
SUB_FILES= pkg-message
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
do-install:
- @cd ${WRKSRC} && ${COPYTREE_SHARE} htdocs ${WWWDIR}
- @cd ${WRKSRC} && ${COPYTREE_SHARE} extras ${WWWDIR}
- @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
- @${CHMOD} -R 755 ${WWWDIR}
+ ${MKDIR} ${STAGEDIR}${WWWDIR}
+ @cd ${WRKSRC} && ${COPYTREE_SHARE} htdocs ${STAGEDIR}${WWWDIR}
+ @cd ${WRKSRC} && ${COPYTREE_SHARE} extras ${STAGEDIR}${WWWDIR}
+ @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
+ @${CHMOD} -R 755 ${STAGEDIR}${WWWDIR}
@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' \
>> ${TMPPLIST}
@${ECHO_CMD} '@exec ${CHMOD} -R 755 ${WWWDIR}' \
>> ${TMPPLIST}
-post-install:
- @${CAT} ${PKGMESSAGE}
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>