svn commit: r368756 - head/devel/phpbt
Antoine Brodin
antoine at FreeBSD.org
Sun Sep 21 13:56:07 UTC 2014
Author: antoine
Date: Sun Sep 21 13:56:06 2014
New Revision: 368756
URL: http://svnweb.freebsd.org/changeset/ports/368756
QAT: https://qat.redports.org/buildarchive/r368756/
Log:
Allow staging as a regular user
Bump portrevision as files were not packaged with intended owner
Modified:
head/devel/phpbt/Makefile
head/devel/phpbt/pkg-plist
Modified: head/devel/phpbt/Makefile
==============================================================================
--- head/devel/phpbt/Makefile Sun Sep 21 13:48:22 2014 (r368755)
+++ head/devel/phpbt/Makefile Sun Sep 21 13:56:06 2014 (r368756)
@@ -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 tokeni
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>
Modified: head/devel/phpbt/pkg-plist
==============================================================================
--- head/devel/phpbt/pkg-plist Sun Sep 21 13:48:22 2014 (r368755)
+++ head/devel/phpbt/pkg-plist Sun Sep 21 13:56:06 2014 (r368756)
@@ -1,3 +1,5 @@
+ at owner %%WWWOWN%%
+ at group %%WWWGRP%%
%%PHPBT%%/CHANGELOG
%%PHPBT%%/COPYING
%%PHPBT%%/INSTALL
@@ -214,4 +216,6 @@
@dirrm %%PHPBT%%/templates/default
@dirrm %%PHPBT%%/templates
@dirrm %%PHPBT%%
+ at owner root
+ at group wheel
@dirrmtry www/data-dist
More information about the svn-ports-head
mailing list