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 13:56:06 +00:00
parent 481aef09d5
commit 1b471bb21c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=368756
2 changed files with 6 additions and 2 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= phpbt
PORTVERSION= 1.0.1
PORTREVISION= 1
CATEGORIES?= devel
MASTER_SITES= SF
@ -17,13 +18,12 @@ USE_PHP= ctype pcre posix session tokenizer xml zlib
NO_BUILD= YES
PHPBT= www/data-dist/phpbt
PLIST_SUB= PHPBT=${PHPBT}
PLIST_SUB= PHPBT=${PHPBT} WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
SUB_FILES= pkg-message
SUB_LIST+= PHPBT=${PHPBT}
do-install:
-${MKDIR} ${STAGEDIR}${PREFIX}/${PHPBT}
@(cd ${WRKSRC} && ${CP} -R * ${STAGEDIR}${PREFIX}/${PHPBT})
@${CHOWN} -R www:www ${STAGEDIR}${PREFIX}/${PHPBT}
.include <bsd.port.mk>

View File

@ -1,3 +1,5 @@
@owner %%WWWOWN%%
@group %%WWWGRP%%
%%PHPBT%%/CHANGELOG
%%PHPBT%%/COPYING
%%PHPBT%%/INSTALL
@ -214,4 +216,6 @@
@dirrm %%PHPBT%%/templates/default
@dirrm %%PHPBT%%/templates
@dirrm %%PHPBT%%
@owner root
@group wheel
@dirrmtry www/data-dist