- Stage support

This commit is contained in:
Martin Wilke 2014-02-28 16:20:06 +00:00
parent 598a8b4631
commit c9114bfa5b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346546

View file

@ -14,15 +14,12 @@ NO_BUILD= yes
USE_PHP= yes
WRKSRC= ${WRKDIR}/iWebCal
NO_STAGE= yes
post-extract:
-@${FIND} ${WRKSRC}/ -type d -name '.svn' | ${XARGS} ${RM} -rf
do-install:
.if !exists(${WWWDIR})
${MKDIR} ${WWWDIR}
.endif
@${CP} -R ${WRKSRC}/* ${WWWDIR}
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}/
${MKDIR} ${STAGEDIR}${WWWDIR}
@${CP} -R ${WRKSRC}/* ${STAGEDIR}${WWWDIR}
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}/
.include <bsd.port.mk>