freebsd-ports/databases/rubygem-activerecord/Makefile
Philip M. Gollucci 7bd33b57b4 Presenting Rails 3.0
http://weblog.rubyonrails.org/2010/8/29/rails-3-0-it-s-done

N.B.:
  lang/ruby19 does not work with rails3 until the upgrade to 1.9.2
  by stas@ happens.

- Update www/rubygem-rails to 3.0.0

Sponsored by:       RideCharge Inc. / Taximagic
2010-09-02 02:43:28 +00:00

44 lines
1.3 KiB
Makefile

# Ports collection makefile for: gem-activerecord
# Date created: 27 May 2005
# Whom: Jonathan Weiss (<jw@innerewut.de>)
#
# $FreeBSD$
PORTNAME= activerecord
PORTVERSION= 3.0.0
CATEGORIES= databases rubygems
MASTER_SITES= RG
MAINTAINER= ruby@FreeBSD.org
COMMENT= Object-relational mapping layer for Rails MVC Framework
RUN_DEPENDS= rubygem-activesupport>=${PORTVERSION}:${PORTSDIR}/devel/rubygem-activesupport \
rubygem-activemodel>=${PORTVERSION}:${PORTSDIR}/databases/rubygem-activemodel \
rubygem-tzinfo>=0.3.23:${PORTSDIR}/devel/rubygem-tzinfo \
rubygem-arel>=1.0.0:${PORTSDIR}/databases/rubygem-arel
USE_RUBY= yes
USE_RUBYGEMS= yes
RUBYGEM_AUTOPLIST= yes
OPTIONS= \
NATIVE_MYSQL "Use native MySQL bindings" Off \
NATIVE_POSTGRESQL "Use native PostgreSQL bindings" Off \
NATIVE_SQLITE3 "Use native SQLite3 bindings" Off
OPTIONSFILE= ${PORT_DBDIR}/rubygem-${PORTNAME}/options
.include <bsd.port.options.mk>
.if defined(WITH_NATIVE_MYSQL)
RUN_DEPENDS+= ${RUBY_PKGNAMEPREFIX}mysql>0:${PORTSDIR}/databases/ruby-mysql
.endif
.if defined(WITH_NATIVE_POSTGRESQL)
RUN_DEPENDS+= rubygem-pg>=0:${PORTSDIR}/databases/rubygem-pg
.endif
.if defined(WITH_NATIVE_SQLITE3)
RUN_DEPENDS+= rubygem-sqlite3>=1.2.1:${PORTSDIR}/databases/rubygem-sqlite3
.endif
.include <bsd.port.mk>