aboutsummaryrefslogtreecommitdiffstats
path: root/games/phpua-ut2003
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-08-10 21:13:44 +0800
committerpav <pav@FreeBSD.org>2005-08-10 21:13:44 +0800
commitaf0ca1c4de6b0dacd6dd6889e6821651b55e2012 (patch)
tree5cd89008955c72650cbb51d720d0439c89c81cb5 /games/phpua-ut2003
parent29e78218769803c1ca2d2ef046def46b1e3912d3 (diff)
downloadfreebsd-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-ut2003')
-rw-r--r--games/phpua-ut2003/Makefile6
-rw-r--r--games/phpua-ut2003/files/pkg-opts4
2 files changed, 5 insertions, 5 deletions
diff --git a/games/phpua-ut2003/Makefile b/games/phpua-ut2003/Makefile
index 03acae41e34d..20995edb4594 100644
--- a/games/phpua-ut2003/Makefile
+++ b/games/phpua-ut2003/Makefile
@@ -18,8 +18,8 @@ RUN_DEPENDS= ${PKG_DBDIR}/phpua-engine-1.1.0b:${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
@@ -43,7 +43,7 @@ pre-everything::
do-install:
@ ${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-ut2003/files/pkg-opts b/games/phpua-ut2003/files/pkg-opts
index 60e0b3999572..5c101844d9b6 100644
--- a/games/phpua-ut2003/files/pkg-opts
+++ b/games/phpua-ut2003/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