1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/net-mgmt/nvidia_gpu_prometheus_exporter/Makefile
Mateusz Piotrowski d05bb23c80 New port: net-mgmt/nvidia_gpu_prometheus_exporter: NVIDIA GPU Prometheus exporter
This is a Prometheus Exporter for exporting NVIDIA GPU metrics. It uses the
Go bindings for NVIDIA Management Library (NVML) which is a C-based API
that can be used for monitoring NVIDIA GPU devices. Unlike some other
similar exporters, it does not call the nvidia-smi binary.

WWW: https://github.com/mindprince/nvidia_gpu_prometheus_exporter

Reviewed by:	mat
Approved by:	mat (mentor)
Sponsored by:	BALLY WULFF Games & Entertainment GmbH
Differential Revision:	https://reviews.freebsd.org/D19002
2019-01-28 13:48:10 +00:00

30 lines
527 B
Makefile

# $FreeBSD$
PORTNAME= nvidia_gpu_prometheus_exporter
DISTVERSION= g20181028
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>