graphite_exporter/Makefile

39 lines
1.0 KiB
Makefile
Raw Normal View History

2020-08-06 23:13:13 +02:00
# $FreeBSD$
PORTNAME= graphite_exporter
PORTVERSION= 0.8.0
DISTVERSIONPREFIX=v
CATEGORIES= sysutils
2020-08-30 20:01:31 +02:00
MAINTAINER= johan@nosd.in
2020-08-06 23:13:13 +02:00
COMMENT= Accepts Graphite metrics and exports them as Prometheus metrics
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go:modules
USE_GITHUB= yes
GH_ACCOUNT= prometheus
GH_PROJECT= graphite_exporter
USERS= prometheus
GROUPS= prometheus
GH_TUPLE= prometheus:client_golang:v1.6.0:client_golang/vendor/github.com/prometheus/client_golang
GH_TUPLE+= go-kit:kit:v0.10.0:kit/vendor/github.com/go-kit/kit
GH_TUPLE+= prometheus:common:v0.10.0:common/vendor/github.com/prometheus/common
GH_TUPLE+= prometheus:statsd_exporter:v0.16.0:statsd_exporter/vendor/github.com/prometheus/statsd_exporter
GH_TUPLE+= alecthomas:kingpin:v2.2.6:kingpin/vendor/gopkg.in/alecthomas/kingpin
GO_PKGNAME= github.com/${GH_ACCOUNT}/${GH_PROJECT}
USE_RC_SUBR= graphite_exporter
PLIST_FILES= bin/graphite_exporter
PLIST_FILES+= etc/rc.d/graphite_exporter
pre-test:
${SETENV} GOPATH="${WRKDIR}"
.include <bsd.port.mk>