aboutsummaryrefslogtreecommitdiffstats
path: root/www/asterisk-stat/Makefile
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-10-20 00:02:25 +0800
committerantoine <antoine@FreeBSD.org>2014-10-20 00:02:25 +0800
commit93879fb50d241a3178f475656bfb68bd9155aeb9 (patch)
treea57cf8f53819ee459bfc00ccfd5d09e035b3d2c2 /www/asterisk-stat/Makefile
parenta88aa57398478dfb1c9572cd2484cb79ef5dc76c (diff)
downloadfreebsd-ports-gnome-93879fb50d241a3178f475656bfb68bd9155aeb9.tar.gz
freebsd-ports-gnome-93879fb50d241a3178f475656bfb68bd9155aeb9.tar.zst
freebsd-ports-gnome-93879fb50d241a3178f475656bfb68bd9155aeb9.zip
- Allow staging as a regular user
- Bump portrevision as files were not packaged with intended owner
Diffstat (limited to 'www/asterisk-stat/Makefile')
-rw-r--r--www/asterisk-stat/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/www/asterisk-stat/Makefile b/www/asterisk-stat/Makefile
index 7be700aa8674..9b492397a306 100644
--- a/www/asterisk-stat/Makefile
+++ b/www/asterisk-stat/Makefile
@@ -3,7 +3,7 @@
PORTNAME= asterisk-stat
PORTVERSION= 2.0.1
-PORTREVISION= 14
+PORTREVISION= 15
CATEGORIES= www
MASTER_SITES= http://ftp.iij.ad.jp/pub/FreeBSD/distfiles/
DISTNAME= ${PORTNAME}-v${PORTVERSION:S/./_/g}
@@ -38,7 +38,8 @@ USE_PHP+= ${ASTERISKSTATDB}
EXTRA_PATCHES+= ${FILESDIR}/${ASTERISKSTATDB}__patch-cdr.php \
${FILESDIR}/${ASTERISKSTATDB}__patch-defines.php
PLIST_SUB+= ASTERISKDIR=${ASTERISKDIR:S,^${PREFIX}/,,} \
- ASTERISKSTATDB=${ASTERISKSTATDB}
+ ASTERISKSTATDB=${ASTERISKSTATDB} \
+ WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
post-patch:
@${MV} ${WRKSRC}/images/print.css ${WRKSRC}/css
@@ -55,6 +56,5 @@ do-install:
(cd ${WRKSRC}/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${ASTERISKDIR})
${MKDIR} ${STAGEDIR}${PREFIX}/etc/asterisk
${INSTALL_DATA} ${FILESDIR}/cdr_${ASTERISKSTATDB}.tbl ${STAGEDIR}${PREFIX}/etc/asterisk
- ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${ASTERISKDIR}
.include <bsd.port.mk>