aboutsummaryrefslogtreecommitdiff
path: root/games/phpua-hl
diff options
context:
space:
mode:
Diffstat (limited to 'games/phpua-hl')
-rw-r--r--games/phpua-hl/Makefile2
-rw-r--r--games/phpua-hl/pkg-plist3
2 files changed, 2 insertions, 3 deletions
diff --git a/games/phpua-hl/Makefile b/games/phpua-hl/Makefile
index 59daceb97c20..56e347e49d58 100644
--- a/games/phpua-hl/Makefile
+++ b/games/phpua-hl/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-hl/pkg-plist b/games/phpua-hl/pkg-plist
index a7efa9dd57ad..3d53c7988dc6 100644
--- a/games/phpua-hl/pkg-plist
+++ b/games/phpua-hl/pkg-plist
@@ -1,5 +1,3 @@
-@owner www
-@group www
%%PHPUA%%/images/templates/default/plugin_hl/bomb.png
%%PHPUA%%/images/templates/default/plugin_hl/bomb_planted.png
%%PHPUA%%/images/templates/default/plugin_hl/dispenser.png
@@ -54,6 +52,7 @@
%%PHPUA%%/templates/default/plugin_hl/x.js
%%PHPUA%%/templates/javascript/plugin_hl/info.tpl
%%PHPUA%%/templates/wap/plugin_hl/info.tpl
+@exec chown -R %%PHPUA_USER%%:%%PHPUA_GROUP%% %D/%%PHPUA%%
@dirrm %%PHPUA%%/templates/wap/plugin_hl
@dirrm %%PHPUA%%/templates/javascript/plugin_hl
@dirrm %%PHPUA%%/templates/default/plugin_hl