mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +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
|
SUB_FILES= pkg-message
|
||||||
WWWDIR?= ${PREFIX}/www/${PORTNAME}
|
WWWDIR?= ${PREFIX}/www/${PORTNAME}
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
@${MKDIR} ${WWWDIR}
|
@${MKDIR} ${STAGEDIR}${WWWDIR}
|
||||||
${CP} -R ${WRKSRC}/ ${WWWDIR}
|
${CP} -R ${WRKSRC}/ ${STAGEDIR}${WWWDIR}
|
||||||
${TOUCH} ${WWWDIR}/inc/config.php
|
${TOUCH} ${STAGEDIR}${WWWDIR}/inc/config.php
|
||||||
@${CHOWN} ${WWWOWN} ${WWWDIR}/inc/config.php
|
@${CHOWN} ${WWWOWN} ${STAGEDIR}${WWWDIR}/inc/config.php
|
||||||
@${CAT} ${PKGMESSAGE}
|
|
||||||
|
|
||||||
create-plist:
|
create-plist:
|
||||||
@${FIND} -s ${WRKSRC}/${file} -not -type d \
|
@${FIND} -s ${WRKSRC}/${file} -not -type d \
|
||||||
|
Loading…
Reference in New Issue
Block a user