aboutsummaryrefslogtreecommitdiffstats
path: root/www/rubygem-rails/Makefile
blob: 1c6d755ca8f46f4a10a4548a77b54a1e11935a5d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Ports collection makefile for:    rubygem-rails
# Date created:             27 May 2005
# Whom:                 Jonathan Weiss (<jw@innerewut.de>)
#
# $FreeBSD$

PORTNAME=   rails
PORTVERSION=    1.1.2
CATEGORIES= www rubygems
MASTER_SITES=   http://rubyforge.org/frs/download.php/9684/

MAINTAINER= jw@innerewut.de
COMMENT=    MVC web application framework

BUILD_DEPENDS=  rake:${PORTSDIR}/devel/rubygem-rake \
        ${LOCALBASE}/${SPEC_DIR}/activesupport-1.3.1.gemspec:${PORTSDIR}/devel/rubygem-activesupport \
        ${LOCALBASE}/${SPEC_DIR}/actionpack-1.12.1.gemspec:${PORTSDIR}/www/rubygem-actionpack \
        ${LOCALBASE}/${SPEC_DIR}/actionwebservice-1.1.2.gemspec:${PORTSDIR}/www/rubygem-actionwebservice \
        ${LOCALBASE}/${SPEC_DIR}/actionmailer-1.2.1.gemspec:${PORTSDIR}/mail/rubygem-actionmailer \
        ${LOCALBASE}/${SPEC_DIR}/activerecord-1.14.2.gemspec:${PORTSDIR}/databases/rubygem-activerecord
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

.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+=   ${LOCALBASE}/${SPEC_DIR}/memcache-client-1.0.3.gemspec:${PORTSDIR}/databases/rubygem-memcache-client
.endif

.include "${PORTSDIR}/devel/ruby-gems/Makefile.common"
.include <bsd.port.post.mk>