mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-02 11:09:29 +00:00
- Stage support
This commit is contained in:
parent
af099b4997
commit
1fd6620f5f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=342924
@ -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 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user