aboutsummaryrefslogtreecommitdiff
path: root/games/phpua-cod
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-08-19 13:38:55 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-08-19 13:38:55 +0000
commite72c5c9b02b9c5964aebf10366be11b5508340c2 (patch)
treeefa1ad2e1d2c081294fe610c3fb15d471c463dc4 /games/phpua-cod
parent73481d885afddff6c712172cdec3e789c147e324 (diff)
downloadports-e72c5c9b02b9c5964aebf10366be11b5508340c2.tar.gz
ports-e72c5c9b02b9c5964aebf10366be11b5508340c2.zip
- Really fix the ownership of installed files
Approved by: portmgr (kris)
Notes
Notes: svn path=/head/; revision=140931
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