postfix-log-parser/Makefile
2021-02-20 20:54:07 +01:00

40 lines
1.4 KiB
Makefile

# $FreeBSD: head/sysutils/postfix-log-parser/Makefile 517745 2021-02-15 15:10:39Z yo000 $
PORTNAME= postfix-log-parser
PORTVERSION= 1.2.4
DISTVERSIONPREFIX=v
PORTREVISION= 2
CATEGORIES= sysutils
MAINTAINER= johan@nosd.in
COMMENT= Parse postfix log, and output json format
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go
GO_TARGET= ${WRKSRC}/postfix-log-parser/main.go
GO_PKGNAME= github.com/yo000/postfix-log-parser
USE_GITHUB= yes
GH_ACCOUNT= yo000
GH_PROJECT= postfix-log-parser
GH_TUPLE= spf13:cobra:v1.1.3:cobra/vendor/github.com/spf13/cobra \
spf13:pflag:v1.0.5:pflag/vendor/github.com/spf13/pflag \
tabalt:pidfile:v1.1.0:pidfile/vendor/github.com/tabalt/pidfile \
prometheus:client_golang:v1.9.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.17.0:common/vendor/github.com/prometheus/common \
prometheus:procfs:v0.6.0:procfs/vendor/github.com/prometheus/procfs \
beorn7:perks:v1.0.1:perks/vendor/github.com/beorn7/perks \
cespare:xxhash:v2.1.1:xxhash/vendor/github.com/cespare/xxhash/v2 \
golang:sys:9a76102bfb43:sys/vendor/golang.org/x/sys \
golang:protobuf:v1.3.5:protobuf/vendor/github.com/golang/protobuf \
matttproud:golang_protobuf_extensions:v1.0.1:golang_protobuf_extensions/vendor/github.com/matttproud/golang_protobuf_extensions
pre-test:
${SETENV} GOPATH="${WRKDIR}"
.include <bsd.port.mk>