mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
- Stage support
This commit is contained in:
parent
796de5c241
commit
7115b47749
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=342778
@ -19,15 +19,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}/inc/config.php
|
||||
@${CHOWN} ${WWWOWN} ${WWWDIR}/inc/config.php ${WWWDIR}/inc/settings.php
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
@${MKDIR} ${STAGEDIR}${WWWDIR}
|
||||
${CP} -R ${WRKSRC}/ ${STAGEDIR}${WWWDIR}
|
||||
${TOUCH} ${STAGEDIR}${WWWDIR}/inc/config.php
|
||||
@${CHOWN} ${WWWOWN} ${STAGEDIR}${WWWDIR}/inc/config.php ${STAGEDIR}${WWWDIR}/inc/settings.php
|
||||
|
||||
create-plist:
|
||||
@${FIND} -s ${WRKSRC}/${file} -not -type d \
|
||||
|
Loading…
Reference in New Issue
Block a user