summaryrefslogtreecommitdiffstats
path: root/games/phpua-ut
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-08-10 13:13:44 +0000
committerpav <pav@FreeBSD.org>2005-08-10 13:13:44 +0000
commitaf0ca1c4de6b0dacd6dd6889e6821651b55e2012 (patch)
tree5cd89008955c72650cbb51d720d0439c89c81cb5 /games/phpua-ut
parent29e78218769803c1ca2d2ef046def46b1e3912d3 (diff)
downloadFreeBSD-ports-af0ca1c4de6b0dacd6dd6889e6821651b55e2012.zip
FreeBSD-ports-af0ca1c4de6b0dacd6dd6889e6821651b55e2012.tar.gz
- 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/Makefile6
-rw-r--r--games/phpua-ut/files/pkg-opts4
2 files changed, 5 insertions, 5 deletions
diff --git a/games/phpua-ut/Makefile b/games/phpua-ut/Makefile
index bfb399e..703097d 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 60e0b39..5c10184 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
OpenPOWER on IntegriCloud