aboutsummaryrefslogtreecommitdiffstats
path: root/games/phpua-cod
diff options
context:
space:
mode:
Diffstat (limited to 'games/phpua-cod')
-rw-r--r--games/phpua-cod/Makefile2
-rw-r--r--games/phpua-cod/pkg-plist3
2 files changed, 2 insertions, 3 deletions
diff --git a/games/phpua-cod/Makefile b/games/phpua-cod/Makefile
index 7e2555ffac58..0bb303d850b5 100644
--- a/games/phpua-cod/Makefile
+++ b/games/phpua-cod/Makefile
@@ -26,7 +26,7 @@ PKGOPTS= ${FILESDIR}/pkg-opts
NO_BUILD= yes
-PLIST_SUB+= PHPUA=${PHPUA}
+PLIST_SUB+= PHPUA=${PHPUA} PHPUA_USER=${PHPUA_USER} PHPUA_GROUP=${PHPUA_GROUP}
options:
@ ${ECHO_MSG} "===> Build options for ${PKGNAME}:"
diff --git a/games/phpua-cod/pkg-plist b/games/phpua-cod/pkg-plist
index 7209bdd657f5..e89deb53aa64 100644
--- a/games/phpua-cod/pkg-plist
+++ b/games/phpua-cod/pkg-plist
@@ -1,5 +1,3 @@
-@owner www
-@group www
%%PHPUA%%/images/plugin_cod/maps/mp_brecourt.jpg
%%PHPUA%%/images/plugin_cod/maps/mp_carentan.jpg
%%PHPUA%%/images/plugin_cod/maps/mp_chateau.jpg
@@ -24,6 +22,7 @@
%%PHPUA%%/templates/default/plugin_cod/x.js
%%PHPUA%%/templates/javascript/plugin_cod/info.tpl
%%PHPUA%%/templates/wap/plugin_cod/info.tpl
+@exec chown -R %%PHPUA_USER%%:%%PHPUA_GROUP%% %D/%%PHPUA%%
@dirrm %%PHPUA%%/templates/wap/plugin_cod
@dirrm %%PHPUA%%/templates/javascript/plugin_cod
@dirrm %%PHPUA%%/templates/default/plugin_cod