View | Details | Raw Unified | Return to bug 240172
Collapse All | Expand All

(-)sysutils/node_exporter/Makefile (-5 / +1 lines)
Lines 16-22 Link Here
16
		bash:shells/bash \
16
		bash:shells/bash \
17
		gsed:textproc/gsed
17
		gsed:textproc/gsed
18
18
19
USES=		gmake go shebangfix
19
USES=		gmake go:modules shebangfix
20
USE_GITHUB=	yes
20
USE_GITHUB=	yes
21
GH_ACCOUNT=	prometheus
21
GH_ACCOUNT=	prometheus
22
USE_RC_SUBR=	node_exporter
22
USE_RC_SUBR=	node_exporter
Lines 25-31 Link Here
25
SHEBANG_FILES=	ttar
25
SHEBANG_FILES=	ttar
26
26
27
GO_PKGNAME=	github.com/${GH_ACCOUNT}/${PORTNAME}
27
GO_PKGNAME=	github.com/${GH_ACCOUNT}/${PORTNAME}
28
GO_TARGET=	github.com/${GH_ACCOUNT}/${PORTNAME}
29
28
30
# A "checkrules" target is being added in >0.17.0.
29
# A "checkrules" target is being added in >0.17.0.
31
TEST_TARGET=	test
30
TEST_TARGET=	test
Lines 43-51 Link Here
43
42
44
OPTIONS_DEFINE=	DOCS EXAMPLES
43
OPTIONS_DEFINE=	DOCS EXAMPLES
45
44
46
do-install:
47
	${INSTALL_PROGRAM} ${WRKDIR}/bin/node_exporter ${STAGEDIR}${PREFIX}/bin
48
49
post-install-DOCS-on:
45
post-install-DOCS-on:
50
	${MKDIR} ${STAGEDIR}${DOCSDIR}
46
	${MKDIR} ${STAGEDIR}${DOCSDIR}
51
	cd ${WRKSRC}/docs && \
47
	cd ${WRKSRC}/docs && \

Return to bug 240172