aboutsummaryrefslogtreecommitdiff
path: root/net/benthos/Makefile
blob: 5e9399bf963614b59bcd6b19047d05b51ce97d02 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
PORTNAME=	benthos
DISTVERSION=	4.27.0
DISTVERSIONPREFIX=	v
CATEGORIES=	net

MAINTAINER=	olgeni@FreeBSD.org
COMMENT=	Stream processor for a wide array of data sources and sinks
WWW=		https://www.benthos.dev/

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		go:modules
USE_RC_SUBR=	benthos

GO_MODULE=	github.com/benthosdev/benthos/v4
GO_TARGET=	./cmd/benthos

USERS=		benthos
GROUPS=		benthos

PLIST_FILES=	bin/benthos \
		"@dir(,,755) %%ETCDIR%%" \
		"@sample %%ETCDIR%%/config.yaml.sample"

post-install:
	@${MKDIR} ${STAGEDIR}${ETCDIR}
	${INSTALL_DATA} ${FILESDIR}/config.yaml ${STAGEDIR}${ETCDIR}/config.yaml.sample

.include <bsd.port.mk>