From a854a3c91c7b5550877298c06b3a26ab64e1f825 Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Fri, 12 Sep 2014 16:00:35 +0000 Subject: [PATCH] - Allow staging as a regular user - Bump portrevision as files were not packaged with intended owner --- www/kplaylist/Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/www/kplaylist/Makefile b/www/kplaylist/Makefile index 7d63e8cc352a..fe986916c13f 100644 --- a/www/kplaylist/Makefile +++ b/www/kplaylist/Makefile @@ -3,7 +3,7 @@ PORTNAME= kplaylist PORTVERSION= 1.8.505 -PORTREVISION?= 1 +PORTREVISION?= 2 CATEGORIES= www multimedia MASTER_SITES= http://www.kplaylist.net/archive.php?file=1.8.505&tar=true/ DISTNAME= ${PORTNAME}.${PORTVERSION} @@ -18,16 +18,14 @@ RUN_DEPENDS= lame:${PORTSDIR}/audio/lame \ USE_PHP= curl mysql session iconv WRKSRC= ${WRKDIR} -WWWDIR?= ${PREFIX}/www/${PORTNAME} NO_BUILD= yes -PLIST_FILES= %%WWWDIR%%/index.php -PLIST_DIRS= %%WWWDIR%% +PLIST_FILES= "@(${WWWOWN},${WWWGRP},) %%WWWDIR%%/index.php" \ + "@dirrm(${WWWOWN},${WWWGRP},) %%WWWDIR%%" do-install: ${MKDIR} ${STAGEDIR}${WWWDIR} @cd ${WRKSRC} && ${CP} kplaylist.1.8.505.php \ ${STAGEDIR}${WWWDIR}/index.php - ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR} .include