summaryrefslogtreecommitdiff
path: root/misc/ruby-gem_plugin/Makefile
blob: 35d60cbbaa312d877c842e35de03659a7bdbb84f (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
# $NetBSD: Makefile,v 1.3 2007/04/27 19:57:53 minskim Exp $

DISTNAME=	gem_plugin-0.2.2
PKGNAME=	${RUBY_PKGPREFIX}-${DISTNAME}
CATEGORIES=	misc
MASTER_SITES=	http://rubyforge.org/frs/download.php/16607/
EXTRACT_SUFX=	.gem

MAINTAINER=	minskim@NetBSD.org
HOMEPAGE=	http://mongrel.rubyforge.org/
COMMENT=	Gem-based plugin system

BROKEN_IN=		pkgsrc-2006Q4

CONFLICTS+=	ruby[1-9]*-gem_plugin-[0-9]*
BUILD_DEPENDS+=	rake>=0.7:../../devel/rake
DEPENDS+=	rubygems-[0-9]*:../../misc/rubygems

FIND_PREFIX:=	RAKE_PREFIX=rake
.include "../../mk/find-prefix.mk"

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

do-build:
	cd ${WRKSRC} && ${RAKE_PREFIX}/bin/rake package

do-install:
	${GEM} install ${WRKSRC}/pkg/${DISTNAME}.gem -l

.include "../../mk/bsd.pkg.mk"