opnsense-ports/databases/redis_exporter/Makefile
Franco Fichtner 7e5c3c3ac2 */*: sync with upstream
Taken from: HardenedBSD
2018-07-09 11:51:01 +02:00

29 lines
558 B
Makefile

# Created by: Jev Björsell <ports@ecadlabs.com>
# $FreeBSD$
PORTNAME= redis_exporter
PORTVERSION= 0.20.2
DISTVERSIONPREFIX=v
CATEGORIES= databases
MAINTAINER= arcade@b1t.name
COMMENT= Prometheus exporter for redis stats
LICENSE= MIT
USES= go
USE_GITHUB= yes
GH_ACCOUNT= oliver006
GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME}
GO_TARGET= github.com/${GH_ACCOUNT}/${PORTNAME}
PLIST_FILES= bin/redis_exporter
USE_RC_SUBR= redis_exporter
do-install:
${INSTALL_PROGRAM} ${WRKDIR}/bin/redis_exporter ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>