summaryrefslogtreecommitdiff
path: root/net-mgmt/nvidia_gpu_prometheus_exporter/Makefile
blob: b1f752c19500808c7699bc6d2c93c4cced707024 (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
27
28
29

PORTNAME=	nvidia_gpu_prometheus_exporter
DISTVERSION=	g20181028
PORTREVISION=	1
CATEGORIES=	net-mgmt

MAINTAINER=	0mp@FreeBSD.org
COMMENT=	NVIDIA GPU Prometheus exporter

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE

ONLY_FOR_ARCHS=	amd64 i386

USES=		go
USE_GITHUB=	yes
GH_ACCOUNT=	mindprince
GH_TAGNAME=	0d52cd2

PLIST_FILES=	bin/${PORTNAME}
PORTDOCS=	README.md

OPTIONS_DEFINE=	DOCS

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>