blob: 60bd6de0777f3b3a3d53b904ce080000bb0b1684 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
PORTNAME= consul_exporter
PORTVERSION= 0.3.0
DISTVERSIONPREFIX= v
PORTREVISION= 10
CATEGORIES= sysutils
MAINTAINER= t.tom@succont.de
COMMENT= Exporter for Consul metrics
WWW= https://github.com/prometheus/consul_exporter
LICENSE= APACHE20
USES= go
USE_GITHUB= yes
GH_ACCOUNT= prometheus
GH_SUBDIR= src/github.com/${GH_ACCOUNT}/consul_exporter
GO_BUILDFLAGS= -ldflags "\
-X github.com/prometheus/consul_exporter/version.Version=${PORTVERSION} \
-X github.com/prometheus/consul_exporter/version.VersionPrerelease= \
-X github.com/prometheus/consul_exporter/version.GitDescribe=v${PORTVERSION}"
USE_RC_SUBR= consul_exporter
PLIST_FILES= bin/consul_exporter
.include <bsd.port.mk>
|