summaryrefslogtreecommitdiff
path: root/net/rabbiter/Makefile
blob: 3608aa9683bf95aa3ad1d155a3199400b2539dde (plain)
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
# $NetBSD: Makefile,v 1.9 2015/12/30 14:39:12 taca Exp $
#

DISTNAME=	rabbiter-2.0.1
PKGREVISION=	1
CATEGORIES=	net ruby
MASTER_SITES=	${MASTER_SITE_RUBYGEMS}
EXTRACT_SUFX=	.gem

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://rabbit-shocker.org/en/rabbiter/
COMMENT=	Twitter client for Rabbit
LICENSE=	gnu-gpl-v2 # or later

DEPENDS+=	${RUBY_PKGPREFIX}-rabbit>=2.0.0:../../graphics/rabbit
DEPENDS+=	${RUBY_PKGPREFIX}-twitter_oauth-[0-9]*:../../security/ruby-twitter_oauth
DEPENDS+=	${RUBY_PKGPREFIX}-twitter-stream>=0.1.16:../../net/ruby-twitter-stream

CONFLICTS+=	${RUBY_PKGPREFIX}-rabbit<2.0.0

USE_RUBY_SETUP=		yes
USE_RUBY_SETUP_PKG=	yes

CONFIGURE_ARGS+=	--siteruby=${PREFIX}/${RUBY_VENDORLIB_BASE} \
			--siterubyver=${PREFIX}/${RUBY_VENDORLIB} \
			--siterubyverarch=${PREFIX}/${RUBY_VENDORARCHLIB}

# let locale data to be installed with setup.rb
post-extract:
	${MKDIR} ${WRKSRC}/data
	${MV} ${WRKSRC}/locale ${WRKSRC}/data/locale

.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"