summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 58280a2410d6..410820d78950 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 a592b0cf39a7..c799e4678a35 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