diff options
author | pav <pav@FreeBSD.org> | 2005-08-10 21:13:44 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2005-08-10 21:13:44 +0800 |
commit | af0ca1c4de6b0dacd6dd6889e6821651b55e2012 (patch) | |
tree | 5cd89008955c72650cbb51d720d0439c89c81cb5 /games/phpua-ut | |
parent | 29e78218769803c1ca2d2ef046def46b1e3912d3 (diff) | |
download | freebsd-ports-gnome-af0ca1c4de6b0dacd6dd6889e6821651b55e2012.tar.gz freebsd-ports-gnome-af0ca1c4de6b0dacd6dd6889e6821651b55e2012.tar.zst freebsd-ports-gnome-af0ca1c4de6b0dacd6dd6889e6821651b55e2012.zip |
- Rename USER and GROUP variables to PHPUA_USER and PHPUA_GROUP to avoid
collision with environment variables
- Use WWWOWN and WWWGRP as default values for PHPUA_USER and PHPUA_GROUP
Approved by: portmgr (clement)
Diffstat (limited to 'games/phpua-ut')
-rw-r--r-- | games/phpua-ut/Makefile | 6 | ||||
-rw-r--r-- | games/phpua-ut/files/pkg-opts | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/games/phpua-ut/Makefile b/games/phpua-ut/Makefile index bfb399e472b0..703097dc0f81 100644 --- a/games/phpua-ut/Makefile +++ b/games/phpua-ut/Makefile @@ -18,8 +18,8 @@ RUN_DEPENDS= ${LOCALBASE}/${PHPUA}/index.php:${PORTSDIR}/games/phpua-engine # Some variables you can change PHPUA?= www/data/phpua -USER?= www -GROUP?= www +PHPUA_USER?= ${WWWOWN} +PHPUA_GROUP?= ${WWWGRP} # Static Variables PKGOPTS= ${FILESDIR}/pkg-opts @@ -44,7 +44,7 @@ do-install: @ ${CP} -R ${WRKDIR}/images ${PREFIX}/${PHPUA}/ @ ${CP} -R ${WRKDIR}/plugins ${PREFIX}/${PHPUA}/ @ ${CP} -R ${WRKDIR}/templates ${PREFIX}/${PHPUA}/ - @ ${CHOWN} -R ${USER}:${GROUP} ${PREFIX}/${PHPUA} + @ ${CHOWN} -R ${PHPUA_USER}:${PHPUA_GROUP} ${PREFIX}/${PHPUA} @ ${ECHO_MSG} "" @ ${ECHO_MSG} "* Files have been installed in" @ ${ECHO_MSG} "* ${PREFIX}/${PHPUA}" diff --git a/games/phpua-ut/files/pkg-opts b/games/phpua-ut/files/pkg-opts index 60e0b3999572..5c101844d9b6 100644 --- a/games/phpua-ut/files/pkg-opts +++ b/games/phpua-ut/files/pkg-opts @@ -2,9 +2,9 @@ > PHPUA [www/data/phpua] The DocumentRoot for your webserver under ${PREFIX} -> USER [www] +> PHPUA_USER [www] The user ID under which your webserver runs -> GROUP [www] +> PHPUA_GROUP [www] The group ID under which your webserver runs |