aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-09-21 21:56:06 +0800
committerAntoine Brodin <antoine@FreeBSD.org>2014-09-21 21:56:06 +0800
commit1b471bb21c7eec280b68b72313e4dead82523ce9 (patch)
tree916d4043ee8eae1e6ea23cdb1505f155fea9da0c /devel
parent481aef09d5ff004d4902656c7fcf89ee138cc698 (diff)
downloadfreebsd-ports-gnome-1b471bb21c7eec280b68b72313e4dead82523ce9.tar.gz
freebsd-ports-gnome-1b471bb21c7eec280b68b72313e4dead82523ce9.tar.zst
freebsd-ports-gnome-1b471bb21c7eec280b68b72313e4dead82523ce9.zip
Allow staging as a regular user
Bump portrevision as files were not packaged with intended owner
Diffstat (limited to 'devel')
-rw-r--r--devel/phpbt/Makefile4
-rw-r--r--devel/phpbt/pkg-plist4
2 files changed, 6 insertions, 2 deletions
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 <bsd.port.mk>
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