2005-07-20 14:07:59 +00:00
|
|
|
# Ports collection makefile for: rubygem-rails
|
|
|
|
# Date created: 27 May 2005
|
2005-07-20 23:41:48 +00:00
|
|
|
# Whom: Jonathan Weiss (<jw@innerewut.de>)
|
2005-07-20 14:07:59 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= rails
|
2011-08-19 23:28:41 +00:00
|
|
|
PORTVERSION= 3.0.10
|
2006-01-21 20:25:07 +00:00
|
|
|
CATEGORIES= www rubygems
|
2010-05-26 06:00:54 +00:00
|
|
|
MASTER_SITES= RG
|
2005-07-20 14:07:59 +00:00
|
|
|
|
2010-04-27 22:55:23 +00:00
|
|
|
MAINTAINER= ruby@FreeBSD.org
|
2005-07-20 14:07:59 +00:00
|
|
|
COMMENT= MVC web application framework
|
|
|
|
|
2010-09-02 02:43:28 +00:00
|
|
|
RUN_DEPENDS= rubygem-activesupport>=${PORTVERSION}:${PORTSDIR}/devel/rubygem-activesupport \
|
|
|
|
rubygem-activerecord>=${PORTVERSION}:${PORTSDIR}/databases/rubygem-activerecord \
|
|
|
|
rubygem-actionpack>=${PORTVERSION}:${PORTSDIR}/www/rubygem-actionpack \
|
|
|
|
rubygem-actionmailer>=${PORTVERSION}:${PORTSDIR}/mail/rubygem-actionmailer \
|
|
|
|
rubygem-activeresource>=${PORTVERSION}:${PORTSDIR}/www/rubygem-activeresource \
|
|
|
|
rubygem-railties>=${PORTVERSION}:${PORTSDIR}/www/rubygem-railties \
|
2011-07-21 00:39:18 +00:00
|
|
|
rubygem-sqlite3>=1.3.3:${PORTSDIR}/databases/rubygem-sqlite3 \
|
2010-12-08 20:49:38 +00:00
|
|
|
rubygem-bundler>=1.0:${PORTSDIR}/sysutils/rubygem-bundler
|
2005-07-20 14:07:59 +00:00
|
|
|
|
2010-09-05 20:14:01 +00:00
|
|
|
# XXX: rails3 gem no longer has a lib/ dir
|
|
|
|
# XXX: which breaks devel/ruby-gems specification.
|
|
|
|
# XXX: and thus rdoc
|
|
|
|
NOPORTDOCS=yes
|
|
|
|
|
2006-01-29 12:01:19 +00:00
|
|
|
USE_RUBY= yes
|
2008-04-06 08:58:21 +00:00
|
|
|
USE_RUBYGEMS= yes
|
2010-09-02 02:43:28 +00:00
|
|
|
RUBYGEM_AUTOPLIST= yes
|
2009-04-09 00:11:47 +00:00
|
|
|
PLIST_FILES= bin/rails
|
2006-08-23 02:30:45 +00:00
|
|
|
|
2010-09-02 02:43:28 +00:00
|
|
|
OPTIONS= \
|
|
|
|
FCGI "FastCGI backend" Off \
|
|
|
|
MONGREL "Mongrel backend" Off \
|
|
|
|
MONGRELCLUSTER "Mongrel Cluster backend" Off \
|
|
|
|
PASSENGER "Passenger backend" Off \
|
|
|
|
MEMCACHE_CLIENT "MemCache-Client support" Off
|
2010-09-02 14:55:45 +00:00
|
|
|
OPTIONSFILE= ${PORT_DBDIR}/rubygem-${PORTNAME}/options
|
2010-09-02 02:43:28 +00:00
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
2006-01-29 12:01:19 +00:00
|
|
|
|
|
|
|
.if defined(WITH_FCGI)
|
|
|
|
RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/fcgi.so:${PORTSDIR}/www/ruby-fcgi
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_MEMCACHE_CLIENT)
|
2007-09-20 06:06:26 +00:00
|
|
|
RUN_DEPENDS+= rubygem-memcache-client>=1.2.0:${PORTSDIR}/databases/rubygem-memcache-client
|
2006-01-29 12:01:19 +00:00
|
|
|
.endif
|
|
|
|
|
2010-09-02 02:43:28 +00:00
|
|
|
.if defined(WITH_MONGREL)
|
|
|
|
RUN_DEPENDS+= rubygem-mongrel>=1.1.5:${PORTSDIR}/www/rubygem-mongrel
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_MONGRELCLUSTER)
|
2010-11-18 06:20:58 +00:00
|
|
|
RUN_DEPENDS+= rubygem-mongrel_cluster>=1.0.5:${PORTSDIR}/www/rubygem-mongrel_cluster
|
2010-09-02 02:43:28 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_PASSENGER)
|
|
|
|
RUN_DEPENDS+= rubygem-passenger>=2.2.15:${PORTSDIR}/www/rubygem-passenger
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|