From 55a8195ed1376611e09d94867d31211e0193ff21 Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Fri, 10 Oct 2014 21:36:09 +0000 Subject: - Allow staging as a regular user - Bump portrevision as files were not packaged with intended group --- databases/mywwwatcher/Makefile | 3 ++- databases/mywwwatcher/pkg-plist | 14 ++++++++------ 2 files changed, 10 insertions(+), 7 deletions(-) (limited to 'databases/mywwwatcher') diff --git a/databases/mywwwatcher/Makefile b/databases/mywwwatcher/Makefile index 65feeb325e86..6376d7c8f245 100644 --- a/databases/mywwwatcher/Makefile +++ b/databases/mywwwatcher/Makefile @@ -3,6 +3,7 @@ PORTNAME= mywwwatcher PORTVERSION= 3.2 +PORTREVISION= 1 CATEGORIES= databases www MASTER_SITES= http://www.the.cz/mywwwatcher/files/ DISTNAME= mywwwatcher-${PORTVERSION} @@ -15,6 +16,7 @@ WRKSRC= ${WRKDIR}/mywwwatcher WANT_PHP_WEB= yes DEFAULT_PHP_VER= 5 USE_PHP= pcre session mysql +PLIST_SUB= WWWGRP="${WWWGRP}" NO_BUILD= yes @@ -23,7 +25,6 @@ SUB_FILES= pkg-message do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} @${CP} -Rp ${WRKSRC}/* ${STAGEDIR}${WWWDIR} - @${CHGRP} -R ${WWWGRP} ${STAGEDIR}${WWWDIR} @${CHMOD} 775 ${STAGEDIR}${WWWDIR}/ini @${CHMOD} 775 ${STAGEDIR}${WWWDIR}/query_archive diff --git a/databases/mywwwatcher/pkg-plist b/databases/mywwwatcher/pkg-plist index 6a9c42578daf..d16721259226 100644 --- a/databases/mywwwatcher/pkg-plist +++ b/databases/mywwwatcher/pkg-plist @@ -1,3 +1,4 @@ +@group %%WWWGRP%% %%WWWDIR%%/README %%WWWDIR%%/README.cz %%WWWDIR%%/charset.php @@ -32,9 +33,10 @@ %%WWWDIR%%/stat.php %%WWWDIR%%/style.css %%WWWDIR%%/top.php -@dirrm %%WWWDIR%%/query_archive -@dirrm %%WWWDIR%%/lang -@dirrm %%WWWDIR%%/include -@dirrm %%WWWDIR%%/ini -@dirrm %%WWWDIR%%/graphics -@dirrm %%WWWDIR%% +@dir %%WWWDIR%%/query_archive +@dir %%WWWDIR%%/lang +@dir %%WWWDIR%%/include +@dir %%WWWDIR%%/ini +@dir %%WWWDIR%%/graphics +@dir %%WWWDIR%% +@group -- cgit v1.2.3