aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/rubygem-fluentd/Makefile
blob: 33264d3de4a168a73303a228d90088d94daaf007 (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
# New ports collection makefile for:    rubygem-fluentd
# Date created:     10 Jul 2012
# Whom:         Jun Kuriyama <kuriyama@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   fluentd
PORTVERSION=    0.10.25
CATEGORIES= sysutils rubygems
MASTER_SITES=   RG

MAINTAINER= kuriyama@FreeBSD.org
COMMENT=    Fluent event collector

RUN_DEPENDS=    \
    rubygem-msgpack>=0.4.4:${PORTSDIR}/devel/rubygem-msgpack \
    rubygem-json>=1.4.3:${PORTSDIR}/devel/rubygem-json \
    rubygem-yajl-ruby>=1.0:${PORTSDIR}/devel/rubygem-yajl-ruby \
    rubygem-cool.io>=1.1.0:${PORTSDIR}/devel/rubygem-cool.io \
    rubygem-http_parser.rb>=0.5.1:${PORTSDIR}/net/rubygem-http_parser.rb

USE_RUBY=   yes
#RUBY_VER=  1.9 # Please set RUBY_DEFAULT_VER=1.9 in /etc/make.conf
USE_RUBYGEMS=   yes
PLIST_FILES=    bin/fluent-cat bin/fluent-gem bin/fluentd
RUBYGEM_AUTOPLIST=  yes

.include <bsd.port.pre.mk>

.if ${RUBY_VER} == "1.8"
IGNORE=     requires Ruby 1.9, please install this first
.endif

.include <bsd.port.post.mk>