use @owner & @group to fix build package with non root user.

Submitted by:	ohauer@
This commit is contained in:
Vanilla I. Shu 2014-06-09 09:14:37 +00:00
parent e60c5ecbae
commit 40b0a9d38e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357121
2 changed files with 3 additions and 2 deletions

View file

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

View file

@ -1,3 +1,5 @@
@owner ${WWWOWN}
@group ${WWWGRP}
%%PHPIP%%/COPYING
%%PHPIP%%/ChangeLog
%%PHPIP%%/INSTALL