1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

Allow staging as a regular user

This commit is contained in:
Antoine Brodin 2014-09-28 14:08:59 +00:00
parent e8a54851cf
commit 97f8facea9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=369454
2 changed files with 650 additions and 650 deletions

View File

@ -14,17 +14,13 @@ USES= zip
USE_PHP= mysql pcre session iconv xml gd
NO_WRKSUBDIR= yes
NO_BUILD= yes
PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
SUB_FILES= pkg-message
do-install:
${MKDIR} ${STAGEDIR}${WWWDIR}
@cd ${WRKSRC} && ${COPYTREE_SHARE} htdocs ${STAGEDIR}${WWWDIR}
@cd ${WRKSRC} && ${COPYTREE_SHARE} extras ${STAGEDIR}${WWWDIR}
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
@${CHMOD} -R 755 ${STAGEDIR}${WWWDIR}
@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' \
>> ${TMPPLIST}
@${ECHO_CMD} '@exec ${CHMOD} -R 755 ${WWWDIR}' \
>> ${TMPPLIST}
.include <bsd.port.mk>

File diff suppressed because it is too large Load Diff