ports/databases/rubygem-activerecord/Makefile
Steve Wills 7f34fe5dcd devel/rubygem-tzinfo: update to 1.2.2
While here, create a port for the older 0.3 version for the ports that need it,
hook it up to the build, set those ports to use the older version and bump
portrev on those ports.
2014-09-06 20:51:04 +00:00

36 lines
1.1 KiB
Makefile

# Created by: Jonathan Weiss (<jw@innerewut.de>)
# $FreeBSD$
PORTNAME= activerecord
PORTVERSION= 3.2.19
PORTREVISION= 1
CATEGORIES= databases rubygems
MASTER_SITES= RG
MAINTAINER= ruby@FreeBSD.org
COMMENT= Object-relational mapping layer for Rails MVC Framework
LICENSE= MIT
RUN_DEPENDS= rubygem-activemodel>=${PORTVERSION}:${PORTSDIR}/databases/rubygem-activemodel \
rubygem-activesupport>=${PORTVERSION}:${PORTSDIR}/devel/rubygem-activesupport \
rubygem-arel3>=3.0.3:${PORTSDIR}/databases/rubygem-arel3 \
rubygem-tzinfo03>=0.3.29:${PORTSDIR}/devel/rubygem-tzinfo03
USE_RUBY= yes
USE_RUBYGEMS= yes
RUBYGEM_AUTOPLIST= yes
OPTIONS_DEFINE= MYSQL PGSQL SQLITE3
MYSQL_DESC= Use native MySQL bindings
PGSQL_DESC= Use native PostgreSQL bindings
SQLITE3_DESC= Use native SQLite3 bindings
OPTIONSFILE= ${PORT_DBDIR}/rubygem-${PORTNAME}/options
GEM_ENV+= LANG=en_US.UTF-8
MYSQL_RUN_DEPENDS= ${RUBY_PKGNAMEPREFIX}mysql>=0:${PORTSDIR}/databases/ruby-mysql
PGSQL_RUN_DEPENDS= rubygem-pg>=0:${PORTSDIR}/databases/rubygem-pg
SQLITE3_RUN_DEPENDS= rubygem-sqlite3>=1.2.1:${PORTSDIR}/databases/rubygem-sqlite3
.include <bsd.port.mk>