32 lines
858 B
Makefile
32 lines
858 B
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= 1
|
|
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
|
|
|
|
pre-test:
|
|
${SETENV} GOPATH="${WRKDIR}"
|
|
|
|
.include <bsd.port.mk>
|