aboutsummaryrefslogtreecommitdiff
path: root/www/phproxy
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-09-24 17:16:40 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-09-24 17:16:40 +0000
commita2f0ab7d56b18a7d1461f74627b730da933f7a57 (patch)
treec23c7b6885478790d9b781c6c060e2a4466b4acd /www/phproxy
parent0fc68c9cab2221b8e52a394bb5f571e72e5b0920 (diff)
downloadports-a2f0ab7d56b18a7d1461f74627b730da933f7a57.tar.gz
ports-a2f0ab7d56b18a7d1461f74627b730da933f7a57.zip
Notes
Diffstat (limited to 'www/phproxy')
-rw-r--r--www/phproxy/Makefile4
-rw-r--r--www/phproxy/pkg-plist9
2 files changed, 6 insertions, 7 deletions
diff --git a/www/phproxy/Makefile b/www/phproxy/Makefile
index e3e9566e220f..4f731d2401c3 100644
--- a/www/phproxy/Makefile
+++ b/www/phproxy/Makefile
@@ -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>
diff --git a/www/phproxy/pkg-plist b/www/phproxy/pkg-plist
index d8c0fd30fb99..74e2706330e9 100644
--- a/www/phproxy/pkg-plist
+++ b/www/phproxy/pkg-plist
@@ -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
-@dirrm %%WWWDIR%%
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@(%%WWWOWN%%,%%WWWGRP%%,) %%WWWDIR%%/index.inc.php
+@(%%WWWOWN%%,%%WWWGRP%%,) %%WWWDIR%%/index.php
+@(%%WWWOWN%%,%%WWWGRP%%,) %%WWWDIR%%/style.css
+@dir(%%WWWOWN%%,%%WWWGRP%%,) %%WWWDIR%%