aboutsummaryrefslogtreecommitdiffstats
path: root/www/grafana3
diff options
context:
space:
mode:
authorkmoore <kmoore@FreeBSD.org>2016-07-02 01:05:02 +0800
committerkmoore <kmoore@FreeBSD.org>2016-07-02 01:05:02 +0800
commitb90d7b4ef926d7cd4c3823a47d4f9f1e91e911b4 (patch)
tree579c81e20f022e2b67bce9b3c3b31862bcf77aa1 /www/grafana3
parent68549dda389ba8d639a172bca1845d468ff92764 (diff)
downloadfreebsd-ports-gnome-b90d7b4ef926d7cd4c3823a47d4f9f1e91e911b4.tar.gz
freebsd-ports-gnome-b90d7b4ef926d7cd4c3823a47d4f9f1e91e911b4.tar.zst
freebsd-ports-gnome-b90d7b4ef926d7cd4c3823a47d4f9f1e91e911b4.zip
- Add patch to install CLI tool
PR: 210659 Submitted by: Maintainer
Diffstat (limited to 'www/grafana3')
-rw-r--r--www/grafana3/Makefile3
-rw-r--r--www/grafana3/pkg-plist1
2 files changed, 4 insertions, 0 deletions
diff --git a/www/grafana3/Makefile b/www/grafana3/Makefile
index 2a612126f1de..39b5523ddea3 100644
--- a/www/grafana3/Makefile
+++ b/www/grafana3/Makefile
@@ -3,6 +3,7 @@
PORTNAME= grafana3
PORTVERSION= 3.0.4
DISTVERSIONPREFIX= v
+PORTREVISION= 1
CATEGORIES= www
MAINTAINER= john@pcbsd.org
@@ -230,6 +231,8 @@ do-build:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/grafana/grafana/bin/grafana-server \
${STAGEDIR}${PREFIX}/bin/grafana-server
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/grafana/grafana/bin/grafana-cli \
+ ${STAGEDIR}${PREFIX}/bin/grafana-cli
cd ${WRKSRC}/src/github.com/grafana/grafana && \
${COPYTREE_SHARE} public ${STAGEDIR}${PREFIX}/share/grafana
cd ${WRKSRC}/src/github.com/grafana/grafana && \
diff --git a/www/grafana3/pkg-plist b/www/grafana3/pkg-plist
index bb095df34560..22d82f7c35da 100644
--- a/www/grafana3/pkg-plist
+++ b/www/grafana3/pkg-plist
@@ -1,3 +1,4 @@
+bin/grafana-cli
bin/grafana-server
@sample etc/grafana3.conf.sample
share/grafana/conf/defaults.ini