7f7d05e7b7
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. WWW: http://rubygems.org/gems/dm-rails PR: ports/157994 Submitted by: Ryan Steinmetz <rpsfa at rit.edu>
26 lines
731 B
Makefile
26 lines
731 B
Makefile
# New ports collection makefile for: rubygem-dm-rails
|
|
# Date created: 2011-06-16
|
|
# Whom: Ryan Steinmetz <rpsfa@rit.edu>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= dm-rails
|
|
PORTVERSION= 1.0.4
|
|
CATEGORIES= databases rubygems
|
|
MASTER_SITES= RG
|
|
|
|
MAINTAINER= rpsfa@rit.edu
|
|
COMMENT= Integrate DataMapper with Rails 3
|
|
|
|
RUN_DEPENDS= rubygem-actionpack>=3.0.0:${PORTSDIR}/www/rubygem-actionpack \
|
|
rubygem-activesupport>=3.0.0:${PORTSDIR}/devel/rubygem-activesupport \
|
|
rubygem-dm-active_model>=1.0.3:${PORTSDIR}/databases/rubygem-dm-active_model \
|
|
rubygem-dm-core>=1.0.0:${PORTSDIR}/databases/rubygem-dm-core \
|
|
rubygem-railties>=3.0.0:${PORTSDIR}/www/rubygem-railties
|
|
|
|
USE_RUBY= yes
|
|
USE_RUBYGEMS= yes
|
|
RUBYGEM_AUTOPLIST= yes
|
|
|
|
.include <bsd.port.mk>
|