unbound_exporter/Makefile

46 lines
1.7 KiB
Makefile

# Created by: Athanasios Douitsis <aduitsis@cpan.org>
# $FreeBSD: head/sysutils/unbound_exporter/Makefile 519502 2019-12-08 17:25:38Z dmgk $
PORTNAME= unbound_exporter
PORTVERSION= 0.3
DISTVERSIONPREFIX= v
PORTREVISION= 2
CATEGORIES= sysutils
MAINTAINER= johan@nosd.in
COMMENT= Prometheus metrics exporter for the Unbound DNS resolver
LICENSE= APACHE20
USES= go
USE_GITHUB= yes
GH_ACCOUNT= kumina
GH_PROJECT= unbound_exporter
USERS= unbound
GROUP= unbound
GH_TUPLE= prometheus:client_golang:v1.11.0:client_golang/vendor/github.com/prometheus/client_golang \
prometheus:client_model:v0.2.0:client_model/vendor/github.com/prometheus/client_model \
prometheus:common:v0.10.0:common/vendor/github.com/prometheus/common \
prometheus:procfs:v0.0.11:procfs/vendor/github.com/prometheus/procfs \
beorn7:perks:v1.0.0:perks/vendor/github.com/beorn7/perks \
golang:protobuf:v1.3.1:protobuf/vendor/github.com/golang/protobuf \
matttproud:golang_protobuf_extensions:v1.0.1:extensions/vendor/github.com/matttproud/golang_protobuf_extensions \
cespare:xxhash:v2.1.1:xxhash/vendor/github.com/cespare/xxhash/v2 \
alecthomas:kingpin:v2.2.6:kingpin/vendor/gopkg.in/alecthomas/kingpin.v2 \
alecthomas:template:fb15b89:template/vendor/github.com/alecthomas/template \
alecthomas:units:ff826a3:units/vendor/github.com/alecthomas/units \
sirupsen:logrus:v1.3.0:logrus/vendor/github.com/sirupsen/logrus \
golang:crypto:69ecbb4:crypto/vendor/golang.org/x/crypto \
golang:sys:5ac8a444bdc5:sys/vendor/golang.org/x/sys
GO_PKGNAME= github.com/${GH_ACCOUNT}/${GH_PROJECT}
USE_RC_SUBR= unbound_exporter
pre-test:
${SETENV} GOPATH="${WRKDIR}"
.include <bsd.port.mk>