summaryrefslogtreecommitdiff
path: root/www/ruby-rails/Makefile
blob: 013d56773f0c830c1f0a833ea2a8d9549b2e9f0a (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
# $NetBSD: Makefile,v 1.3 2011/03/23 16:51:23 taca Exp $

DISTNAME=	rails-${RUBY_RAILS2_VERSION}
CATEGORIES=	www

MAINTAINER=	minskim@NetBSD.org
HOMEPAGE=	http://www.rubyonrails.org/
COMMENT=	Framework for developing database-backed web applications
LICENSE=	mit

USE_RAKE=	YES
RUBY_RAILS=	2

DEPENDS+=	${RUBY_ACTIVESUPPORT_DEPENDS}
DEPENDS+=	${RUBY_ACTIVERECORD_DEPENDS}
DEPENDS+=	${RUBY_ACTIONPACK_DEPENDS}
DEPENDS+=	${RUBY_ACTIONMAILER_DEPENDS}
DEPENDS+=	${RUBY_ACTIVERESOURCE_DEPENDS}

CONFLICTS+=	ruby[1-9][0-9]-rails-[0-9]* rails-[0-9]*

REPLACE_RUBY_DIRS=	bin
REPLACE_RUBY_PAT=	*

pre-configure:
	${RM} -f ${WRKSRC}/railties-3.0.0.beta3.gem

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