svn commit: r369186 - head/www/phproxy
Antoine Brodin
antoine at FreeBSD.org
Wed Sep 24 17:16:41 UTC 2014
Author: antoine
Date: Wed Sep 24 17:16:40 2014
New Revision: 369186
URL: http://svnweb.freebsd.org/changeset/ports/369186
QAT: https://qat.redports.org/buildarchive/r369186/
Log:
- Allow staging as a regular user
- Bump portrevision as files where not packaged with intended owner
Modified:
head/www/phproxy/Makefile
head/www/phproxy/pkg-plist
Modified: head/www/phproxy/Makefile
==============================================================================
--- head/www/phproxy/Makefile Wed Sep 24 17:05:47 2014 (r369185)
+++ head/www/phproxy/Makefile Wed Sep 24 17:16:40 2014 (r369186)
@@ -3,7 +3,7 @@
PORTNAME= phproxy
PORTVERSION= 0.5b2
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= www
MASTER_SITES= SF/poxy/PHProxy/0.5%20beta%202
DISTNAME= poxy-${DISTVERSION}
@@ -16,6 +16,7 @@ WANT_PHP_WEB= YES
USES= zip:infozip
USE_PHP= ctype pcre
EXTRACT_AFTER_ARGS+= -d ${WRKSRC}
+PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
DOCFILES= ChangeLog.txt LICENSE.txt README.txt TODO.txt
@@ -30,6 +31,5 @@ do-install:
@${RM} ${WRKSRC}/*.txt
${MKDIR} ${STAGEDIR}${WWWDIR}
@(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/)
- @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
.include <bsd.port.mk>
Modified: head/www/phproxy/pkg-plist
==============================================================================
--- head/www/phproxy/pkg-plist Wed Sep 24 17:05:47 2014 (r369185)
+++ head/www/phproxy/pkg-plist Wed Sep 24 17:16:40 2014 (r369186)
@@ -2,8 +2,7 @@
%%PORTDOCS%%%%DOCSDIR%%/LICENSE.txt
%%PORTDOCS%%%%DOCSDIR%%/README.txt
%%PORTDOCS%%%%DOCSDIR%%/TODO.txt
-%%WWWDIR%%/index.inc.php
-%%WWWDIR%%/index.php
-%%WWWDIR%%/style.css
- at dirrm %%WWWDIR%%
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@(%%WWWOWN%%,%%WWWGRP%%,) %%WWWDIR%%/index.inc.php
+@(%%WWWOWN%%,%%WWWGRP%%,) %%WWWDIR%%/index.php
+@(%%WWWOWN%%,%%WWWGRP%%,) %%WWWDIR%%/style.css
+ at dir(%%WWWOWN%%,%%WWWGRP%%,) %%WWWDIR%%
More information about the svn-ports-all
mailing list