1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

- Stage support

This commit is contained in:
Martin Wilke 2014-02-05 17:00:32 +00:00
parent 2618408147
commit bc53bf3c00
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=342780

View File

@ -16,15 +16,13 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
SUB_FILES= pkg-message
WWWDIR?= ${PREFIX}/www/${PORTNAME}
NO_STAGE= yes
.include <bsd.port.pre.mk>
do-install:
@${MKDIR} ${WWWDIR}
${CP} -R ${WRKSRC}/ ${WWWDIR}
${TOUCH} ${WWWDIR}/inc/config.php
@${CHOWN} ${WWWOWN} ${WWWDIR}/inc/config.php
@${CAT} ${PKGMESSAGE}
@${MKDIR} ${STAGEDIR}${WWWDIR}
${CP} -R ${WRKSRC}/ ${STAGEDIR}${WWWDIR}
${TOUCH} ${STAGEDIR}${WWWDIR}/inc/config.php
@${CHOWN} ${WWWOWN} ${STAGEDIR}${WWWDIR}/inc/config.php
create-plist:
@${FIND} -s ${WRKSRC}/${file} -not -type d \