42 lines
1.4 KiB
Makefile
42 lines
1.4 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= 1
|
|
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:3fb53d:client_golang/vendor/github.com/prometheus/client_golang \
|
|
prometheus:client_model:6f38060:client_model/vendor/github.com/prometheus/client_model \
|
|
prometheus:common:49fee29:common/vendor/github.com/prometheus/common \
|
|
prometheus:procfs:a1dba9c:procfs/vendor/github.com/prometheus/procfs \
|
|
beorn7:perks:4c0e845:perks/vendor/github.com/beorn7/perks \
|
|
golang:protobuf:2bba060:protobuf/vendor/github.com/golang/protobuf \
|
|
matttproud:golang_protobuf_extensions:c12348c:extensions/vendor/github.com/matttproud/golang_protobuf_extensions \
|
|
sirupsen:logrus:91da99d:logrus/vendor/github.com/Sirupsen/logrus \
|
|
golang:crypto:3d3f9f41:crypto/vendor/golang.org/x/crypto \
|
|
golang:sys:33540a1f6037: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>
|