summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-06-09 09:14:37 +0000
committervanilla <vanilla@FreeBSD.org>2014-06-09 09:14:37 +0000
commit335ac7525ef159cb1587c00d2d207a283fbe8b3b (patch)
tree60011532461b0644be5e5abc89ecd4b7e705dded
parentdc96563039649a0ab3f48e80b8e05329a8758f1d (diff)
downloadFreeBSD-ports-335ac7525ef159cb1587c00d2d207a283fbe8b3b.zip
FreeBSD-ports-335ac7525ef159cb1587c00d2d207a283fbe8b3b.tar.gz
use @owner & @group to fix build package with non root user.
Submitted by: ohauer@
-rw-r--r--net-mgmt/phpip/Makefile3
-rw-r--r--net-mgmt/phpip/pkg-plist2
2 files changed, 3 insertions, 2 deletions
diff --git a/net-mgmt/phpip/Makefile b/net-mgmt/phpip/Makefile
index 58280a2..410820d 100644
--- a/net-mgmt/phpip/Makefile
+++ b/net-mgmt/phpip/Makefile
@@ -18,12 +18,11 @@ USES= dos2unix
WANT_PHP_WEB= yes
PHPIP?= www/phpip
-PLIST_SUB+= PHPIP=${PHPIP}
+PLIST_SUB+= PHPIP=${PHPIP} WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${PHPIP}
@${CP} -R ${WRKSRC}/ ${STAGEDIR}${PREFIX}/${PHPIP}
- @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/${PHPIP}
@${CHMOD} -R 755 ${STAGEDIR}${PREFIX}/${PHPIP}
.include <bsd.port.mk>
diff --git a/net-mgmt/phpip/pkg-plist b/net-mgmt/phpip/pkg-plist
index a592b0c..c799e46 100644
--- a/net-mgmt/phpip/pkg-plist
+++ b/net-mgmt/phpip/pkg-plist
@@ -1,3 +1,5 @@
+@owner ${WWWOWN}
+@group ${WWWGRP}
%%PHPIP%%/COPYING
%%PHPIP%%/ChangeLog
%%PHPIP%%/INSTALL
OpenPOWER on IntegriCloud