- Allow staging as a regular user

- Bump portrevision as @exec was not acting on the right files
This commit is contained in:
Antoine Brodin 2014-10-05 09:19:05 +00:00
parent 578713ed5b
commit 0b8853319f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=370043
2 changed files with 514 additions and 513 deletions

View file

@ -3,6 +3,7 @@
PORTNAME= xoops
PORTVERSION= 2.5.7
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= SF/${PORTNAME}/XOOPS%20Core%20%28stable%20releases%29/XOOPS_${PORTVERSION}
@ -12,6 +13,7 @@ COMMENT= Dynamic Web CMS
USE_PHP= mysql
NO_BUILD= yes
PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
SUB_FILES= pkg-message
do-install:
@ -22,11 +24,6 @@ do-install:
.for d in docs extras htdocs
@cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${WWWDIR}
.endfor
@${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 ${STAGEDIR}${WWWDIR}' \
>> ${TMPPLIST}
.include <bsd.port.mk>

File diff suppressed because it is too large Load diff