freebsd-ports/sysutils/node_exporter/Makefile
Sunpoet Po-Chuan Hsieh e0b379fa6f Remove BROKEN_FreeBSD_9
Approved by:	portmgr (blanket)
2017-01-01 03:45:12 +00:00

31 lines
609 B
Makefile

# Created by: Jev Björsell <ports@ecadlabs.com>
# $FreeBSD$
PORTNAME= node_exporter
PORTVERSION= 0.13.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
STRIP= # stripping can break go binaries
do-install:
${INSTALL_PROGRAM} ${WRKDIR}/bin/node_exporter ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>