mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Allow staging as a regular user
This commit is contained in:
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
|
@ -14,17 +14,13 @@ USES= zip
|
||||||
USE_PHP= mysql pcre session iconv xml gd
|
USE_PHP= mysql pcre session iconv xml gd
|
||||||
NO_WRKSUBDIR= yes
|
NO_WRKSUBDIR= yes
|
||||||
NO_BUILD= yes
|
NO_BUILD= yes
|
||||||
|
PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
|
||||||
SUB_FILES= pkg-message
|
SUB_FILES= pkg-message
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${MKDIR} ${STAGEDIR}${WWWDIR}
|
${MKDIR} ${STAGEDIR}${WWWDIR}
|
||||||
@cd ${WRKSRC} && ${COPYTREE_SHARE} htdocs ${STAGEDIR}${WWWDIR}
|
@cd ${WRKSRC} && ${COPYTREE_SHARE} htdocs ${STAGEDIR}${WWWDIR}
|
||||||
@cd ${WRKSRC} && ${COPYTREE_SHARE} extras ${STAGEDIR}${WWWDIR}
|
@cd ${WRKSRC} && ${COPYTREE_SHARE} extras ${STAGEDIR}${WWWDIR}
|
||||||
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
|
|
||||||
@${CHMOD} -R 755 ${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>
|
.include <bsd.port.mk>
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue