summaryrefslogtreecommitdiff
path: root/net-mgmt/nvidia_gpu_prometheus_exporter/Makefile
blob: 34682071c0f6c358d791a14b51f4f372c34cd5ea (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=	20
CATEGORIES=	net-mgmt

MAINTAINER=	0mp@FreeBSD.org
COMMENT=	NVIDIA GPU Prometheus exporter
WWW=		https://github.com/mindprince/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>