mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
Fix www/grafana3 to use the right phantomjs binaries.
PR: 215468 Submitted by: brd Approved by: maintainer timeout, bdrewery (implicit)
This commit is contained in:
parent
409bcb2718
commit
b2653a25fd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=432848
@ -3,7 +3,7 @@
|
||||
PORTNAME= grafana
|
||||
PORTVERSION= 3.1.1
|
||||
DISTVERSIONPREFIX= v
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
PKGNAMESUFFIX= 3
|
||||
CATEGORIES= www
|
||||
|
||||
@ -14,6 +14,9 @@ LICENSE= APACHE20
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/bin/go:lang/go
|
||||
|
||||
RUN_DEPENDS= ${LOCALBASE}/bin/phantomjs:lang/phantomjs \
|
||||
webfonts>=0:x11-fonts/webfonts
|
||||
|
||||
ONLY_FOR_ARCHS= i386 amd64
|
||||
|
||||
USE_RC_SUBR= grafana3
|
||||
@ -140,6 +143,10 @@ do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/src/github.com/grafana/grafana/conf/defaults.ini \
|
||||
${STAGEDIR}${GRAFANAHOMEDIR}/conf/defaults.ini
|
||||
${INSTALL_DATA} ${WRKDIR}/grafana3.conf ${STAGEDIR}${PREFIX}/etc/grafana3.conf.sample
|
||||
${MKDIR} ${STAGEDIR}${GRAFANAHOMEDIR}/vendor/phantomjs/
|
||||
${INSTALL_DATA} ${WRKSRC}/src/github.com/grafana/grafana/vendor/phantomjs/render.js \
|
||||
${STAGEDIR}${GRAFANAHOMEDIR}/vendor/phantomjs/
|
||||
${LN} -s /usr/local/bin/phantomjs ${STAGEDIR}${GRAFANAHOMEDIR}/vendor/phantomjs/phantomjs
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
|
@ -42868,6 +42868,8 @@ share/grafana/public_gen/vendor/zero_clipboard.js
|
||||
share/grafana/public_gen/vendor/zero_clipboard.swf
|
||||
share/grafana/public_gen/views/500.html
|
||||
share/grafana/public_gen/views/index.html
|
||||
share/grafana/vendor/phantomjs/render.js
|
||||
share/grafana/vendor/phantomjs/phantomjs
|
||||
@dir share/grafana/data/log
|
||||
@dir /var/db/grafana3/dashboards
|
||||
@dir /var/db/grafana3/plugins
|
||||
|
Loading…
Reference in New Issue
Block a user