freebsd-ports/databases/redis_exporter/Makefile
Dmitri Goutnik adf988f6ce databases/redis_exporter: Update to 1.5.2
Changes:	https://github.com/oliver006/redis_exporter/releases
PR:		244895
Submitted by:	Volodymyr Kostyrko <arcade@b1t.name> (maintainer)
2020-03-20 12:30:41 +00:00

41 lines
1.5 KiB
Makefile

# Created by: Jev Björsell <ports@ecadlabs.com>
# $FreeBSD$
PORTNAME= redis_exporter
PORTVERSION= 1.5.2
DISTVERSIONPREFIX=v
CATEGORIES= databases
MAINTAINER= arcade@b1t.name
COMMENT= Prometheus exporter for redis stats
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go:modules
USE_GITHUB= yes
GH_ACCOUNT= oliver006
USE_RC_SUBR= redis_exporter
GH_TUPLE= beorn7:perks:v1.0.1:beorn7_perks/vendor/github.com/beorn7/perks \
cespare:xxhash:v2.1.1:cespare_xxhash/vendor/github.com/cespare/xxhash/v2 \
golang:protobuf:v1.3.2:golang_protobuf/vendor/github.com/golang/protobuf \
gomodule:redigo:7ac8ae1:gomodule_redigo/vendor/github.com/gomodule/redigo \
matttproud:golang_protobuf_extensions:v1.0.1:matttproud_golang_protobuf_extensions/vendor/github.com/matttproud/golang_protobuf_extensions \
prometheus:client_golang:v1.5.1: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.9.1:prometheus_common/vendor/github.com/prometheus/common \
prometheus:procfs:v0.0.8:prometheus_procfs/vendor/github.com/prometheus/procfs \
sirupsen:logrus:v1.4.2:sirupsen_logrus/vendor/github.com/sirupsen/logrus \
golang:sys:e047566:golang_sys/vendor/golang.org/x/sys
GO_BUILDFLAGS= -v -ldflags "${LD_FLAG_STRING}"
PLIST_FILES= bin/redis_exporter
LD_FLAG_X_PREFIX= -X main
LD_FLAG_STRING= -s \
${LD_FLAG_X_PREFIX}.BuildVersion=${PORTVERSION}
.include <bsd.port.mk>