- Allow staging as a regular user

- Bump portrevision as files where not packaged with intended owner
This commit is contained in:
Antoine Brodin 2014-09-24 17:16:40 +00:00
parent 0fc68c9cab
commit a2f0ab7d56
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=369186
2 changed files with 6 additions and 7 deletions

View file

@ -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>

View file

@ -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%%