mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
6d9a516a14
Changelog: https://github.com/oliver006/redis_exporter/compare/v1.55.0...v1.58.0 PR: 278013
26 lines
564 B
Makefile
26 lines
564 B
Makefile
PORTNAME= redis_exporter
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 1.58.0
|
|
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.22
|
|
|
|
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=${PORTVERSION}
|
|
|
|
.include <bsd.port.mk>
|