- Stage support

PR:		90320
This commit is contained in:
Martin Wilke 2014-06-03 05:04:48 +00:00
parent 7d746540a0
commit 54d250da4d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356284

View file

@ -14,14 +14,13 @@ WANT_PHP_WEB= yes
NO_BUILD= yes
PHPWEBAPP?= ${PREFIX}/www/data/web_app
NO_STAGE= yes
do-install:
${MKDIR} -p ${PREFIX}/www/data
${CP} -R ${WRKSRC}/web_app/ ${PHPWEBAPP}
@${FIND} ${PHPWEBAPP} ! -type d | \
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${PHPWEBAPP} -type d | ${SORT} -r | \
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
${MKDIR} -p ${STAGEDIR}${PREFIX}/www/data
${CP} -R ${WRKSRC}/web_app/ ${STAGEDIR}${PHPWEBAPP}
@${FIND} ${STAGEDIR}${PHPWEBAPP} ! -type d | \
${SED} 's,^${STAGEDIR}${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${STAGEDIR}${PHPWEBAPP} -type d | ${SORT} -r | \
${SED} 's,^${STAGEDIR}${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
@${ECHO_CMD} "@unexec rmdir %D/www/data 2>/dev/null || true" >> ${TMPPLIST}
.include <bsd.port.mk>