aboutsummaryrefslogtreecommitdiff
path: root/sysutils/rubygem-fluentd/Makefile
blob: 2a08721473ccc83b9062f41d1237f04a3a80a6e4 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
PORTNAME=	fluentd
PORTVERSION=	1.16.5
CATEGORIES=	sysutils rubygems
MASTER_SITES=	RG

MAINTAINER=	girgen@FreeBSD.org
COMMENT=	Fluent event collector
WWW=		https://fluentd.org/

LICENSE=	APACHE20

RUN_DEPENDS=	\
	rubygem-bundler>=0:sysutils/rubygem-bundler \
	rubygem-cool.io>=1.4.5<2.0.0:devel/rubygem-cool.io \
	rubygem-http_parser.rb>=0.5.1<0.9.0:net/rubygem-http_parser.rb \
	rubygem-msgpack>=1.3.1<2.0.0:devel/rubygem-msgpack \
	rubygem-serverengine>=2.2.5<3.0.0:net/rubygem-serverengine \
	rubygem-sigdump>=0.2.2<0.3:devel/rubygem-sigdump \
	rubygem-strptime>=0.2.2<1.0.0:devel/rubygem-strptime \
	rubygem-tzinfo1>=1.0<3.0:devel/rubygem-tzinfo1 \
	rubygem-tzinfo-data>=1.0<2:devel/rubygem-tzinfo-data \
	rubygem-webrick>=1.4.2<1.9.0:www/rubygem-webrick \
	rubygem-yajl-ruby>=1.0<2:devel/rubygem-yajl-ruby

PLIST_FILES=	bin/fluent-cap-ctl bin/fluent-cat bin/fluent-ctl \
		bin/fluent-debug bin/fluent-gem bin/fluentd \
		bin/fluent-binlog-reader bin/fluent-ca-generate \
		bin/fluent-plugin-config-format bin/fluent-plugin-generate \
		"@sample etc/fluentd/fluent.conf.sample"
PLIST_DIRS=	etc/fluentd/plugin
USES=		cpe gem
USE_RC_SUBR=	fluentd
USERS=		fluentd
GROUPS=		fluentd
SUB_LIST+=	USER=${USERS} GROUP=${GROUPS} RUBY=${RUBY}
NO_ARCH=	YES
NO_LATEST_LINK=	YES

post-install:
	${MKDIR} ${STAGEDIR}${PREFIX}/etc/fluentd/plugin
	${CP} ${WRKSRC}/fluent.conf.sample ${STAGEDIR}${PREFIX}/etc/fluentd/

.include <bsd.port.mk>