summaryrefslogtreecommitdiff
path: root/net/rubygem-tweetstream/Makefile
blob: 7423cf93abc5c45a72d04fd61fb8573e79849ff6 (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
# New ports collection makefile for:	rubygem-tweetstream
# Date created:		2010-11-17
# Whom:			TAKATSU Tomonari <tota@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	tweetstream
PORTVERSION=	1.0.4
CATEGORIES=	net rubygems
MASTER_SITES=	RG

MAINTAINER=	tota@FreeBSD.org
COMMENT=	TweetStream provides simple Ruby access to Twitter\'s Streaming API

RUN_DEPENDS=	rubygem-twitter-stream>=0.0:${PORTSDIR}/net/rubygem-twitter-stream \
		rubygem-daemons>=0.0.0:${PORTSDIR}/devel/rubygem-daemons \
		rubygem-json>=0.0.0:${PORTSDIR}/devel/rubygem-json

USE_RUBY=	yes
USE_RUBYGEMS=	yes
RUBYGEM_AUTOPLIST=	yes

OPTIONS=	JSON_PURE	"JSON implementation in pure Ruby support"	Off \
		ACTIVESUPPORT	"ActiveSupport::JSON.decode support"	Off \
		YAJL_RUBY	"yajl-ruby support"	Off

.include <bsd.port.options.mk>

.if defined(WITH_JSON_PURE)
RUN_DEPENDS+=	rubygem-json_pure>=0:${PORTSDIR}/devel/rubygem-json_pure
.endif

.if defined(WITH_ACTIVESUPPORT)
RUN_DEPENDS+=	rubygem-activesupport>=0:${PORTSDIR}/devel/rubygem-activesupport
.endif

.if defined(WITH_YAJL_RUBY)
RUN_DEPENDS+=	rubygem-yajl-ruby>=0:${PORTSDIR}/devel/rubygem-yajl-ruby
.endif

.include <bsd.port.mk>