svn commit: r405186 - head/www/grafana2
Jimmy Olgeni
olgeni at FreeBSD.org
Sun Jan 3 21:15:58 UTC 2016
Author: olgeni
Date: Sun Jan 3 21:15:57 2016
New Revision: 405186
URL: https://svnweb.freebsd.org/changeset/ports/405186
Log:
Install grafana2.conf using the @sample keyword, to preserve changes
between upgrades.
PR: 205803
Submitted by: olgeni
Approved by: maintainer
Modified:
head/www/grafana2/Makefile
head/www/grafana2/pkg-plist
Modified: head/www/grafana2/Makefile
==============================================================================
--- head/www/grafana2/Makefile Sun Jan 3 21:10:26 2016 (r405185)
+++ head/www/grafana2/Makefile Sun Jan 3 21:15:57 2016 (r405186)
@@ -2,6 +2,7 @@
PORTNAME= grafana2
PORTVERSION= 2.6.0
+PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= www
@@ -151,7 +152,7 @@ do-install:
${MKDIR} ${STAGEDIR}${GRAFANAHOMEDIR}/data/log
${INSTALL_DATA} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/grafana/conf/defaults.ini \
${STAGEDIR}${GRAFANAHOMEDIR}/conf/defaults.ini
- ${INSTALL_DATA} ${WRKDIR}/grafana2.conf ${STAGEDIR}${PREFIX}/etc/grafana2.conf
+ ${INSTALL_DATA} ${WRKDIR}/grafana2.conf ${STAGEDIR}${PREFIX}/etc/grafana2.conf.sample
.include <bsd.port.pre.mk>
Modified: head/www/grafana2/pkg-plist
==============================================================================
--- head/www/grafana2/pkg-plist Sun Jan 3 21:10:26 2016 (r405185)
+++ head/www/grafana2/pkg-plist Sun Jan 3 21:15:57 2016 (r405186)
@@ -1,5 +1,5 @@
bin/grafana-server
-etc/grafana2.conf
+ at sample etc/grafana2.conf.sample
share/grafana/conf/defaults.ini
share/grafana/public/app/app.js
share/grafana/public/app/core/config.js
More information about the svn-ports-all
mailing list