freebsd-ports/www/rubygem-rails/Makefile
Philip M. Gollucci d7531e96ae - Update to rails 2.3.2
www/rubygem-rails [2]
     devel/rubygem-activesupport [5]
     databases/rubygem-activerecord
     mail/rubygem-actionmailer [4]
     www/rubygem-actionpack [3]
     www/rubygem-activeresource [1]

PRs:               ports/133523 [1], ports/133525 [2], ports/133522 [3]
                   ports/133518 [4], ports/133516 [5], ports/133504 [6]
Approved by:       maintainer timeout (2 weeks 1 day) [1-6]
Submitted by:      me [1-6]
Tested by: RidCharge Inc. Tinderbox

Sponsored by:   RideCharge Inc.
2009-04-24 02:45:08 +00:00

43 lines
1.4 KiB
Makefile

# Ports collection makefile for: rubygem-rails
# Date created: 27 May 2005
# Whom: Jonathan Weiss (<jw@innerewut.de>)
#
# $FreeBSD$
PORTNAME= rails
PORTVERSION= 2.3.2
CATEGORIES= www rubygems
MASTER_SITES= RF
MAINTAINER= jw@innerewut.de
COMMENT= MVC web application framework
BUILD_DEPENDS= ${LOCALBASE}/${SPEC_DIR}/activesupport-${PORTVERSION}.gemspec:${PORTSDIR}/devel/rubygem-activesupport \
${LOCALBASE}/${SPEC_DIR}/activerecord-${PORTVERSION}.gemspec:${PORTSDIR}/databases/rubygem-activerecord \
${LOCALBASE}/${SPEC_DIR}/actionpack-${PORTVERSION}.gemspec:${PORTSDIR}/www/rubygem-actionpack \
${LOCALBASE}/${SPEC_DIR}/actionmailer-${PORTVERSION}.gemspec:${PORTSDIR}/mail/rubygem-actionmailer \
${LOCALBASE}/${SPEC_DIR}/activeresource-${PORTVERSION}.gemspec:${PORTSDIR}/www/rubygem-activeresource
RUN_DEPENDS= ${BUILD_DEPENDS}
OPTIONS= FCGI "FastCGI support" Off\
MEMCACHE_CLIENT "MemCache-Client support" Off
OPTIONSFILE= ${PORT_DBDIR}/rubygem-${PORTNAME}/options
# to get RUBY_SITEARCHLIBDIR
USE_RUBY= yes
USE_RAKE= yes
USE_RUBYGEMS= yes
RUBYGEM_AUTOPLIST= yes
PLIST_FILES= bin/rails
.include <bsd.port.pre.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
.include <bsd.port.post.mk>