aboutsummaryrefslogtreecommitdiff
path: root/games/phpua-bf
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-08-10 13:13:44 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-08-10 13:13:44 +0000
commit524abdd69ace5eae3be6db4719613c588c4491e4 (patch)
treed91ad9e55bdf955c600a39ce7250ba6ae04f5767 /games/phpua-bf
parent7cf1aaaec56821cbd0fa22600e0e8a504995a402 (diff)
downloadports-524abdd69ace5eae3be6db4719613c588c4491e4.tar.gz
ports-524abdd69ace5eae3be6db4719613c588c4491e4.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)
Notes
Notes: svn path=/head/; revision=140832
Diffstat (limited to 'games/phpua-bf')
-rw-r--r--games/phpua-bf/Makefile6
-rw-r--r--games/phpua-bf/files/pkg-opts4
2 files changed, 5 insertions, 5 deletions
diff --git a/games/phpua-bf/Makefile b/games/phpua-bf/Makefile
index 599de81f8bdf..81452889dcde 100644
--- a/games/phpua-bf/Makefile
+++ b/games/phpua-bf/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
@@ -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-bf/files/pkg-opts b/games/phpua-bf/files/pkg-opts
index 60e0b3999572..5c101844d9b6 100644
--- a/games/phpua-bf/files/pkg-opts
+++ b/games/phpua-bf/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