- Allow staging as a regular user

- Bump portrevision as files were not packaged with intended owner
This commit is contained in:
Antoine Brodin 2014-09-21 15:29:27 +00:00
parent 36924302f8
commit 867ced35c6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=368771
2 changed files with 6 additions and 1 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= iwebcal
PORTVERSION= 2.1
PORTREVISION= 1
CATEGORIES= www deskutils
MASTER_SITES= SF
EXTRACT_SUFX= .tgz
@ -13,6 +14,7 @@ COMMENT= Webbased iCal calendar viewer
NO_BUILD= yes
USE_PHP= yes
WRKSRC= ${WRKDIR}/iWebCal
PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
post-extract:
-@${FIND} ${WRKSRC}/ -type d -name '.svn' | ${XARGS} ${RM} -rf
@ -20,6 +22,5 @@ post-extract:
do-install:
@${MKDIR} ${STAGEDIR}${WWWDIR}
${CP} -R ${WRKSRC}/* ${STAGEDIR}${WWWDIR}
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}/
.include <bsd.port.mk>

View File

@ -1,3 +1,5 @@
@owner %%WWWOWN%%
@group %%WWWGRP%%
%%WWWDIR%%/README.txt
%%WWWDIR%%/Sample.ics
%%WWWDIR%%/base/main.inc
@ -43,3 +45,5 @@
@dirrm %%WWWDIR%%/base
@dirrmtry %%WWWDIR%%/cache
@dirrmtry %%WWWDIR%%
@owner root
@group wheel