mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
0a6a082939
Submitted by: Alexander Kriventsov <avk vl.ru> PR: ports/159906 Security: be77eff6-ca91-11e0-aea3-00215c6a37bb
65 lines
2.0 KiB
Makefile
65 lines
2.0 KiB
Makefile
# Ports collection makefile for: rubygem-rails
|
|
# Date created: 27 May 2005
|
|
# Whom: Jonathan Weiss (<jw@innerewut.de>)
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= rails
|
|
PORTVERSION= 3.0.10
|
|
CATEGORIES= www rubygems
|
|
MASTER_SITES= RG
|
|
|
|
MAINTAINER= ruby@FreeBSD.org
|
|
COMMENT= MVC web application framework
|
|
|
|
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 \
|
|
rubygem-sqlite3>=1.3.3:${PORTSDIR}/databases/rubygem-sqlite3 \
|
|
rubygem-bundler>=1.0:${PORTSDIR}/sysutils/rubygem-bundler
|
|
|
|
# XXX: rails3 gem no longer has a lib/ dir
|
|
# XXX: which breaks devel/ruby-gems specification.
|
|
# XXX: and thus rdoc
|
|
NOPORTDOCS=yes
|
|
|
|
USE_RUBY= yes
|
|
USE_RUBYGEMS= yes
|
|
RUBYGEM_AUTOPLIST= yes
|
|
PLIST_FILES= bin/rails
|
|
|
|
OPTIONS= \
|
|
FCGI "FastCGI backend" Off \
|
|
MONGREL "Mongrel backend" Off \
|
|
MONGRELCLUSTER "Mongrel Cluster backend" Off \
|
|
PASSENGER "Passenger backend" Off \
|
|
MEMCACHE_CLIENT "MemCache-Client support" Off
|
|
OPTIONSFILE= ${PORT_DBDIR}/rubygem-${PORTNAME}/options
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if defined(WITH_FCGI)
|
|
RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/fcgi.so:${PORTSDIR}/www/ruby-fcgi
|
|
.endif
|
|
|
|
.if defined(WITH_MEMCACHE_CLIENT)
|
|
RUN_DEPENDS+= rubygem-memcache-client>=1.2.0:${PORTSDIR}/databases/rubygem-memcache-client
|
|
.endif
|
|
|
|
.if defined(WITH_MONGREL)
|
|
RUN_DEPENDS+= rubygem-mongrel>=1.1.5:${PORTSDIR}/www/rubygem-mongrel
|
|
.endif
|
|
|
|
.if defined(WITH_MONGRELCLUSTER)
|
|
RUN_DEPENDS+= rubygem-mongrel_cluster>=1.0.5:${PORTSDIR}/www/rubygem-mongrel_cluster
|
|
.endif
|
|
|
|
.if defined(WITH_PASSENGER)
|
|
RUN_DEPENDS+= rubygem-passenger>=2.2.15:${PORTSDIR}/www/rubygem-passenger
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|