From e72c5c9b02b9c5964aebf10366be11b5508340c2 Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Fri, 19 Aug 2005 13:38:55 +0000 Subject: - Really fix the ownership of installed files Approved by: portmgr (kris) --- games/phpua-engine/Makefile | 4 ++-- games/phpua-engine/pkg-plist | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'games/phpua-engine') 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 -- cgit v1.2.3