opnsense-ports/sysutils/node_exporter/Makefile
Franco Fichtner ddc65107c3 sysutils/node_exporter: sync with upstream
Taken from: HardenedBSD
2018-11-08 19:20:17 +01:00

29 lines
566 B
Makefile

# Created by: Jev Björsell <ports@ecadlabs.com>
# $FreeBSD$
PORTNAME= node_exporter
PORTVERSION= 0.16.0
DISTVERSIONPREFIX=v
CATEGORIES= sysutils
MAINTAINER= ports@ecadlabs.com
COMMENT= Prometheus exporter for machine metrics
LICENSE= APACHE20
USES= go
USE_GITHUB= yes
GH_ACCOUNT= prometheus
GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME}
GO_TARGET= github.com/${GH_ACCOUNT}/${PORTNAME}
PLIST_FILES= bin/node_exporter
USE_RC_SUBR= node_exporter
do-install:
${INSTALL_PROGRAM} ${WRKDIR}/bin/node_exporter ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>