diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-06-09 09:14:37 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-06-09 09:14:37 +0000 |
commit | 40b0a9d38e7093f0f280b6a9cdcc762e4b672c20 (patch) | |
tree | 60011532461b0644be5e5abc89ecd4b7e705dded | |
parent | e60c5ecbaec3504f741c0764f43a2151ce6dc4ef (diff) | |
download | freebsd-ports-40b0a9d38e7093f0f280b6a9cdcc762e4b672c20.zip |
use @owner & @group to fix build package with non root user.
Submitted by: ohauer@
-rw-r--r-- | net-mgmt/phpip/Makefile | 3 | ||||
-rw-r--r-- | net-mgmt/phpip/pkg-plist | 2 |
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 |