# $FreeBSD: head/sysutils/postfix_exporter/Makefile 517745 2019-11-16 12:52:39Z dmgk $ PORTNAME= postfix_exporter PORTVERSION= 0.2.0 PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= yo@nosd.in COMMENT= Export postfix metrics in Prometheus format LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= go USE_GITHUB= yes GH_ACCOUNT= kumina GH_PROJECT= postfix_exporter USERS= prometheus GROUPS= maildrop GH_TUPLE= alecthomas:kingpin:v2.2.6:kingpin/vendor/github.com/alecthomas/kingpin \ alecthomas:template:fb15b89:template/vendor/github.com/alecthomas/template \ alecthomas:units:f65c72e:units/vendor/github.com/alecthomas/units \ beorn7:perks:v1.0.0:perks/vendor/github.com/beorn7/perks \ cespare:xxhash:v2.1.1:xxhash/vendor/github.com/cespare/xxhash/v2 \ golang:protobuf:v1.3.1:protobuf/vendor/github.com/golang/protobuf \ golang:sys:5ac8a444bdc5:sys/vendor/golang.org/x/sys \ hpcloud:tail:v1.0.0:tail/vendor/github.com/hpcloud/tail \ matttproud:golang_protobuf_extensions:v1.0.1:golang_protobuf_extensions/vendor/github.com/matttproud/golang_protobuf_extensions \ prometheus:client_golang:v1.6.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 GO_PKGNAME= github.com/${GH_ACCOUNT}/${GH_PROJECT} GO_BUILDFLAGS= -tags nosystemd USE_RC_SUBR= postfix_exporter pre-test: ${SETENV} GOPATH="${WRKDIR}" .include