diff --git a/devel/phpbt/Makefile b/devel/phpbt/Makefile index 7a4f836af5a5..4014ee96fa14 100644 --- a/devel/phpbt/Makefile +++ b/devel/phpbt/Makefile @@ -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 diff --git a/devel/phpbt/pkg-plist b/devel/phpbt/pkg-plist index 9259d3f7d70a..978b65d7901b 100644 --- a/devel/phpbt/pkg-plist +++ b/devel/phpbt/pkg-plist @@ -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