52 lines
2.4 KiB
Makefile
52 lines
2.4 KiB
Makefile
# $FreeBSD: head/sysutils/elasticsearch_exporter/Makefile 517745 2021-12-23 10:52:39Z yo $
|
|
|
|
PORTNAME= elasticsearch_exporter
|
|
PORTVERSION= 1.3.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= sysutils
|
|
|
|
MAINTAINER= johan@nosd.in
|
|
COMMENT= Export elasticsearch metrics in Prometheus format
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= go
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= prometheus-community
|
|
GH_PROJECT= elasticsearch_exporter
|
|
|
|
USERS= prometheus
|
|
GROUPS= prometheus
|
|
|
|
GH_TUPLE= \
|
|
alecthomas:kingpin:v2.2.6:alecthomas_kingpin/vendor/gopkg.in/alecthomas/kingpin.v2 \
|
|
alecthomas:template:fb15b899a751:alecthomas_template/vendor/github.com/alecthomas/template \
|
|
alecthomas:units:f65c72e2690d:alecthomas_units/vendor/github.com/alecthomas/units \
|
|
beorn7:perks:v1.0.1:beorn7_perks/vendor/github.com/beorn7/perks \
|
|
blang:semver:3c1074078d32:blang_semver/vendor/github.com/blang/semver \
|
|
cespare:xxhash:v2.1.1:cespare_xxhash_v2/vendor/github.com/cespare/xxhash/v2 \
|
|
go-kit:log:v0.2.0:go_kit_log/vendor/github.com/go-kit/log \
|
|
go-logfmt:logfmt:v0.5.1:go_logfmt_logfmt/vendor/github.com/go-logfmt/logfmt \
|
|
golang:protobuf:v1.4.3:golang_protobuf/vendor/github.com/golang/protobuf \
|
|
golang:sys:ebe580a85c40:golang_sys/vendor/golang.org/x/sys \
|
|
imdario:mergo:v0.3.12:imdario_mergo/vendor/github.com/imdario/mergo \
|
|
matttproud:golang_protobuf_extensions:v1.0.1:matttproud_golang_protobuf_extensions/vendor/github.com/matttproud/golang_protobuf_extensions \
|
|
prometheus:client_golang:v1.11.0:prometheus_client_golang/vendor/github.com/prometheus/client_golang \
|
|
prometheus:client_model:v0.2.0:prometheus_client_model/vendor/github.com/prometheus/client_model \
|
|
prometheus:common:v0.31.1:prometheus_common/vendor/github.com/prometheus/common \
|
|
prometheus:procfs:v0.6.0:prometheus_procfs/vendor/github.com/prometheus/procfs \
|
|
protocolbuffers:protobuf-go:v1.26.0-rc.1:protocolbuffers_protobuf_go/vendor/google.golang.org/protobuf
|
|
|
|
#GO_BUILDFLAGS= -mod=mod
|
|
|
|
GO_PKGNAME= github.com/${GH_ACCOUNT}/${GH_PROJECT}
|
|
GH_TAGNAME= v1.3.0
|
|
|
|
USE_RC_SUBR= elasticsearch_exporter
|
|
|
|
pre-test:
|
|
${SETENV} GOPATH="${WRKDIR}"
|
|
|
|
.include <bsd.port.mk>
|