pkgsrc/databases/ruby-dm-rails/Makefile
taca 1e15f9fda8 Importing databases/ruby-dm-rails package version 1.2.0.
Dm-rails provides the railtie that allows datamapper to hook into rails3 and
thus behave like a rails framework component.  Just like activerecord does in
rails, dm-rails uses the railtie API to hook into rails.  The two are actually
hooked into rails almost identically.

Creating new datamapper apps on rails3 from scratch is actually really easy.
The following will guide you through the process.
2011-12-17 17:35:27 +00:00

19 lines
577 B
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2011/12/17 17:35:27 taca Exp $
DISTNAME= dm-rails-1.2.0
CATEGORIES= databases
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://github.com/datamapper/dm-rails
COMMENT= Use DataMapper with Rails 3
LICENSE= mit
DEPENDS+= ${RUBY_PKGPREFIX}-dm-core>=1.2.0<1.3:../../databases/ruby-dm-core
DEPENDS+= ${RUBY_PKGPREFIX}-dm-active_model>=1.2.0<1.3:../../databases/ruby-dm-active_model
DEPENDS+= ${RUBY_ACTIONPACK_DEPENDS}
DEPENDS+= ${RUBY_RAILTIES_DEPENDS}
RUBY_RAILS_SUPPORTED= 31
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"