summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-09-11 19:18:02 +0000
committerantoine <antoine@FreeBSD.org>2014-09-11 19:18:02 +0000
commit7beac183e38bab6398affcb530c4fadd61193021 (patch)
tree4c40a2438291bb840c783bdafc063c710fbef694
parentc7315ae9c194cde6fd0980e9bb33b1958f57c788 (diff)
downloadFreeBSD-ports-7beac183e38bab6398affcb530c4fadd61193021.zip
FreeBSD-ports-7beac183e38bab6398affcb530c4fadd61193021.tar.gz
- Allow staging as a regular user
- Bump portrevision as 2 directories were not packaged with intended owner
-rw-r--r--devel/cdash/Makefile9
-rw-r--r--devel/cdash/pkg-plist4
2 files changed, 4 insertions, 9 deletions
diff --git a/devel/cdash/Makefile b/devel/cdash/Makefile
index b4024ef..0d40406 100644
--- a/devel/cdash/Makefile
+++ b/devel/cdash/Makefile
@@ -3,7 +3,7 @@
PORTNAME= cdash
PORTVERSION= 2.0.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://www.cdash.org/download/
DISTNAME= CDash-${PORTVERSION}
@@ -24,6 +24,7 @@ CMAKE_ARGS+= -DCDASH_DB_NAME:STRING=cdash \
USE_PHP= curl gd xsl
WRKSRC= ${WRKDIR}/${DISTNAME:S/./-/g}
+PLIST_SUB= WWWOWN="${WWWOWN}"
SUB_FILES= pkg-message
SUB_LIST+= DB_TYPE=${DB_TYPE}
@@ -45,11 +46,5 @@ do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/www/CDash
${RM} -f ${WRKSRC}/CMakeLists.txt.orig
cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/www/CDash
- ${CHOWN} www ${STAGEDIR}${PREFIX}/www/CDash/backup ${STAGEDIR}${PREFIX}/www/CDash/rss
-
-post-install:
- @${ECHO}
- @${CAT} ${PKGMESSAGE}
- @${ECHO}
.include <bsd.port.mk>
diff --git a/devel/cdash/pkg-plist b/devel/cdash/pkg-plist
index 3e298d2..b45aeae 100644
--- a/devel/cdash/pkg-plist
+++ b/devel/cdash/pkg-plist
@@ -871,7 +871,7 @@ www/CDash/xml_handlers/upload_handler.php
@dirrm www/CDash/sql/mysql
@dirrm www/CDash/sql
@dirrm www/CDash/scripts
-@dirrm www/CDash/rss
+@dirrm(%%WWWOWN%%,,) www/CDash/rss
@dirrm www/CDash/models
@dirrm www/CDash/local
@dirrm www/CDash/javascript/images
@@ -879,7 +879,7 @@ www/CDash/xml_handlers/upload_handler.php
@dirrm www/CDash/iphone
@dirrm www/CDash/images
@dirrm www/CDash/cdash
-@dirrm www/CDash/backup
+@dirrm(%%WWWOWN%%,,) www/CDash/backup
@dirrm www/CDash/api
@dirrm www/CDash/ajax
@dirrm www/CDash
OpenPOWER on IntegriCloud