blob: 35d250462081e4b58be1ab4adeb1444909ebdcef (
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
|
PORTNAME= redis_exporter
DISTVERSIONPREFIX= v
DISTVERSION= 1.58.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.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>
|