mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
- Stage support
This commit is contained in:
parent
9d3c9acab0
commit
3cf8b0992e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343056
@ -14,25 +14,19 @@ USE_PHP= mysql
|
||||
NO_BUILD= yes
|
||||
SUB_FILES= pkg-message
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${WWWDIR}
|
||||
${MKDIR} ${STAGEDIR}${WWWDIR}
|
||||
.for i in checksum.md5 checksum.php
|
||||
@cd ${WRKSRC} && ${CP} ${i} ${WWWDIR}/
|
||||
@cd ${WRKSRC} && ${CP} ${i} ${STAGEDIR}${WWWDIR}/
|
||||
.endfor
|
||||
.for d in docs extras htdocs
|
||||
@cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${WWWDIR}
|
||||
@cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${WWWDIR}
|
||||
.endfor
|
||||
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
|
||||
@${CHMOD} -R 755 ${WWWDIR}
|
||||
@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' \
|
||||
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
|
||||
@${CHMOD} -R 755 ${STAGEDIR}${WWWDIR}
|
||||
@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}' \
|
||||
>> ${TMPPLIST}
|
||||
@${ECHO_CMD} '@exec ${CHMOD} -R 755 ${WWWDIR}' \
|
||||
@${ECHO_CMD} '@exec ${CHMOD} -R 755 ${STAGEDIR}${WWWDIR}' \
|
||||
>> ${TMPPLIST}
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user