1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-02 11:09:29 +00:00

- Stage support

This commit is contained in:
Martin Wilke 2014-02-06 02:41:47 +00:00
parent af099b4997
commit 1fd6620f5f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=342924

View File

@ -15,15 +15,13 @@ USE_MYSQL= yes
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}/system/config/localconfig.php
@${CHOWN} ${WWWOWN} ${WWWDIR}/system/config/localconfig.php
@${CAT} ${PKGMESSAGE}
@${MKDIR} ${STAGEDIR}${WWWDIR}
${CP} -R ${WRKSRC}/ ${STAGEDIR}${WWWDIR}
${TOUCH} ${STAGEDIR}${WWWDIR}/system/config/localconfig.php
@${CHOWN} ${WWWOWN} ${STAGEDIR}${WWWDIR}/system/config/localconfig.php
create-plist:
@${FIND} -s ${WRKSRC}/${file} -not -type d \