Allow staging as a regular user
Bump portrevision as files were not packaged with intended owner
This commit is contained in:
parent
481aef09d5
commit
1b471bb21c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=368756
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user