mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 09:19:15 -04:00
use @owner & @group to fix build package with non root user.
Submitted by: ohauer@
This commit is contained in:
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
|
@ -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>
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@owner ${WWWOWN}
|
||||
@group ${WWWGRP}
|
||||
%%PHPIP%%/COPYING
|
||||
%%PHPIP%%/ChangeLog
|
||||
%%PHPIP%%/INSTALL
|
||||
|
|
Loading…
Add table
Reference in a new issue