aboutsummaryrefslogtreecommitdiffstats
path: root/games/phpua-q3/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/phpua-q3/Makefile')
-rw-r--r--games/phpua-q3/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/phpua-q3/Makefile b/games/phpua-q3/Makefile
index 7da056b5f899..07f1a758a576 100644
--- a/games/phpua-q3/Makefile
+++ b/games/phpua-q3/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}/plugins ${PREFIX}/${PHPUA}/
@ ${CP} -R ${WRKDIR}/templates ${PREFIX}/${PHPUA}/
@ ${CP} -R ${WRKDIR}/images ${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}"