summaryrefslogtreecommitdiff
path: root/games/phpua-engine
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-engine
parent- Unbreak on 5.X and newer, fix fetch (diff)
- 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