1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/databases/redis_exporter/Makefile
2024-11-08 20:59:26 +00:00

27 lines
580 B
Makefile

PORTNAME= redis_exporter
DISTVERSIONPREFIX= v
DISTVERSION= 1.63.0
PORTREVISION= 2
CATEGORIES= databases
MAINTAINER= arcade@b1t.name
COMMENT= Prometheus exporter for redis stats
WWW= https://github.com/oliver006/redis_exporter
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go:modules,1.23
USE_RC_SUBR= redis_exporter
GO_MODULE= github.com/oliver006/redis_exporter
GO_BUILDFLAGS= -v -ldflags "${LD_FLAG_STRING}"
PLIST_FILES= bin/redis_exporter
LD_FLAG_X_PREFIX= -X main
LD_FLAG_STRING= ${STRIP} ${LD_FLAG_X_PREFIX}.BuildVersion=${DISTVERSION}
.include <bsd.port.mk>