mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Stage support
PR: 190025
This commit is contained in:
parent
92ff29b05e
commit
17b85ad8c5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356775
@ -19,17 +19,15 @@ SPOOLDIR?= /var/spool/conference
|
||||
|
||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
@${SED} -e 's|%%WWWDIR%%|${WWWDIR}|g; s|%%DISTNAME%%|${DISTNAME}|g' \
|
||||
${MASTERDIR}/pkg-message > ${PKGMESSAGE}
|
||||
|
||||
do-install:
|
||||
@${MKDIR} -m 755 ${WWWDIR} ${SPOOLDIR}
|
||||
@${CP} -R ${WRKSRC}/ ${WWWDIR}/
|
||||
@${MKDIR} -m 755 ${STAGEDIR}${WWWDIR} ${STAGEDIR}${SPOOLDIR}
|
||||
@${CP} -R ${WRKSRC}/ ${STAGEDIR}${WWWDIR}/
|
||||
@${SED} -e 's#/var/www/html#${WWWDIR}#' \
|
||||
${WRKSRC}/Code/confHeader.inc > ${WWWDIR}/Code/confHeader.inc
|
||||
@${CHOWN} -R ${WWWOWN}:${WWWGROUP} ${WWWDIR} ${SPOOLDIR}
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
${WRKSRC}/Code/confHeader.inc > ${STAGEDIR}${WWWDIR}/Code/confHeader.inc
|
||||
@${CHOWN} -R ${WWWOWN}:${WWWGROUP} ${STAGEDIR}${WWWDIR} ${STAGEDIR}${SPOOLDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -237,3 +237,4 @@
|
||||
@dirrm %%WWWDIR%%/Assistant
|
||||
@dirrm %%WWWDIR%%/All
|
||||
@dirrm %%WWWDIR%%
|
||||
@dirrmtry /var/spool/conference
|
||||
|
Loading…
Reference in New Issue
Block a user