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
2618408147
commit
bc53bf3c00
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=342780
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user