aboutsummaryrefslogtreecommitdiffstats
path: root/games/phpua-engine
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-08-19 21:38:55 +0800
committerpav <pav@FreeBSD.org>2005-08-19 21:38:55 +0800
commit1412a98c7bb693e333a68c2f0ecff277c4e76768 (patch)
tree334e658b1b9663d3cb3477b9c1b0e99e650f59f9 /games/phpua-engine
parentf9f670d2c6abf6acea6d47a081849d5b297c05a9 (diff)
downloadfreebsd-ports-gnome-1412a98c7bb693e333a68c2f0ecff277c4e76768.tar.gz
freebsd-ports-gnome-1412a98c7bb693e333a68c2f0ecff277c4e76768.tar.zst
freebsd-ports-gnome-1412a98c7bb693e333a68c2f0ecff277c4e76768.zip
- Really fix the ownership of installed files
Approved by: portmgr (kris)
Diffstat (limited to 'games/phpua-engine')
-rw-r--r--games/phpua-engine/Makefile4
-rw-r--r--games/phpua-engine/pkg-plist3
2 files changed, 3 insertions, 4 deletions
diff --git a/games/phpua-engine/Makefile b/games/phpua-engine/Makefile
index 67d8be522063..7d0a76bbec5a 100644
--- a/games/phpua-engine/Makefile
+++ b/games/phpua-engine/Makefile
@@ -7,7 +7,7 @@
PORTNAME= phpua-engine
PORTVERSION= 1.1.0b
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= phpua
@@ -19,7 +19,7 @@ NO_BUILD= yes
USE_APACHE= yes
USE_PHP= yes
-PLIST_SUB+= PHPUADIR=${PHPUADIR}
+PLIST_SUB+= PHPUADIR=${PHPUADIR} PHPUA_USER=${PHPUA_USER} PHPUA_GROUP=${PHPUA_GROUP}
# Dynamic custom variables
WWWDOC?= www/data
diff --git a/games/phpua-engine/pkg-plist b/games/phpua-engine/pkg-plist
index 013fb783c2bb..6ba18bff30ae 100644
--- a/games/phpua-engine/pkg-plist
+++ b/games/phpua-engine/pkg-plist
@@ -1,5 +1,3 @@
-@owner www
-@group www
%%PHPUADIR%%/index.php
%%PHPUADIR%%/install.php
%%PHPUADIR%%/phpua.cfg.php
@@ -166,6 +164,7 @@
%%PHPUADIR%%/templates/wap/index_offline.tpl
%%PHPUADIR%%/templates/wap/index_online.tpl
%%PHPUADIR%%/wap/index.php
+@exec chown -R %%PHPUA_USER%%:%%PHPUA_GROUP%% %D/%%PHPUADIR%%
@dirrm %%PHPUADIR%%/doc
@dirrm %%PHPUADIR%%/images/templates/default