2025-03-16 16:12:33 +01:00

47 lines
2.0 KiB
Makefile

# $FreeBSD: head/sysutils/postfix-log-parser/Makefile 517745 2021-02-15 15:10:39Z yo000 $
PORTNAME= postfix-log-parser
PORTVERSION= 1.4.7
DISTVERSIONPREFIX=v
PORTREVISION= 1
CATEGORIES= sysutils
MAINTAINER= johan@nosd.in
COMMENT= Parse postfix log, and output json format
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go
GO_PKGNAME= github.com/yo000/postfix-log-parser
GO_TARGET= postfix-log-parser/main.go:postfix-log-parser
USE_GITHUB= yes
GH_ACCOUNT= yo000
GH_PROJECT= postfix-log-parser
GH_TUPLE= \
beorn7:perks:v1.0.1:beorn7_perks/vendor/github.com/beorn7/perks \
cespare:xxhash:v2.3.0:cespare_xxhash_v2/vendor/github.com/cespare/xxhash/v2 \
golang:sys:v0.28.0:golang_sys/vendor/golang.org/x/sys \
inconshreveable:mousetrap:v1.1.0:inconshreveable_mousetrap/vendor/github.com/inconshreveable/mousetrap \
klauspost:compress:v1.17.11:klauspost_compress/vendor/github.com/klauspost/compress \
munnerz:goautoneg:a7dc8b61c822:munnerz_goautoneg/vendor/github.com/munnerz/goautoneg \
prometheus:client_golang:v1.21.0:prometheus_client_golang/vendor/github.com/prometheus/client_golang \
prometheus:client_model:v0.6.1:prometheus_client_model/vendor/github.com/prometheus/client_model \
prometheus:common:v0.62.0:prometheus_common/vendor/github.com/prometheus/common \
prometheus:procfs:v0.15.1:prometheus_procfs/vendor/github.com/prometheus/procfs \
protocolbuffers:protobuf-go:v1.36.1:protocolbuffers_protobuf_go/vendor/google.golang.org/protobuf \
spf13:cobra:v1.9.1:spf13_cobra/vendor/github.com/spf13/cobra \
spf13:pflag:v1.0.6:spf13_pflag/vendor/github.com/spf13/pflag \
tabalt:pidfile:v1.1.0:tabalt_pidfile/vendor/github.com/tabalt/pidfile
USE_RC_SUBR= postfix-log-parser
USE_RC_SUBR= postfix-log-parser
pre-test:
${SETENV} GOPATH="${WRKDIR}"
.include <bsd.port.mk>