aboutsummaryrefslogtreecommitdiffstats
path: root/www/iwebcal
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-09-21 23:29:27 +0800
committerantoine <antoine@FreeBSD.org>2014-09-21 23:29:27 +0800
commit8e6c494c20a4c9ed61993098e07441f19601d97b (patch)
treeb41bb48cf8d3dae507f54e5f886736c94f7a5bc4 /www/iwebcal
parent5af9208bea299bba70cf40e55688a625bc0d90c3 (diff)
downloadfreebsd-ports-gnome-8e6c494c20a4c9ed61993098e07441f19601d97b.tar.gz
freebsd-ports-gnome-8e6c494c20a4c9ed61993098e07441f19601d97b.tar.zst
freebsd-ports-gnome-8e6c494c20a4c9ed61993098e07441f19601d97b.zip
- Allow staging as a regular user
- Bump portrevision as files were not packaged with intended owner
Diffstat (limited to 'www/iwebcal')
-rw-r--r--www/iwebcal/Makefile3
-rw-r--r--www/iwebcal/pkg-plist4
2 files changed, 6 insertions, 1 deletions
diff --git a/www/iwebcal/Makefile b/www/iwebcal/Makefile
index b19dac19f0fe..848b2fa72564 100644
--- a/www/iwebcal/Makefile
+++ b/www/iwebcal/Makefile
@@ -3,6 +3,7 @@
PORTNAME= iwebcal
PORTVERSION= 2.1
+PORTREVISION= 1
CATEGORIES= www deskutils
MASTER_SITES= SF
EXTRACT_SUFX= .tgz
@@ -13,6 +14,7 @@ COMMENT= Webbased iCal calendar viewer
NO_BUILD= yes
USE_PHP= yes
WRKSRC= ${WRKDIR}/iWebCal
+PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
post-extract:
-@${FIND} ${WRKSRC}/ -type d -name '.svn' | ${XARGS} ${RM} -rf
@@ -20,6 +22,5 @@ post-extract:
do-install:
@${MKDIR} ${STAGEDIR}${WWWDIR}
${CP} -R ${WRKSRC}/* ${STAGEDIR}${WWWDIR}
- ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}/
.include <bsd.port.mk>
diff --git a/www/iwebcal/pkg-plist b/www/iwebcal/pkg-plist
index a52e43aba8a4..2c1ce1173d22 100644
--- a/www/iwebcal/pkg-plist
+++ b/www/iwebcal/pkg-plist
@@ -1,3 +1,5 @@
+@owner %%WWWOWN%%
+@group %%WWWGRP%%
%%WWWDIR%%/README.txt
%%WWWDIR%%/Sample.ics
%%WWWDIR%%/base/main.inc
@@ -43,3 +45,5 @@
@dirrm %%WWWDIR%%/base
@dirrmtry %%WWWDIR%%/cache
@dirrmtry %%WWWDIR%%
+@owner root
+@group wheel