blob: 3e6df84946574ac0523940a4607a2c598535020c (
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
# Created by: Jonathan Weiss (<jw@innerewut.de>)
# $FreeBSD$
PORTNAME= rails
PORTVERSION= 3.2.15
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-rake>=10.0.3:${PORTSDIR}/devel/rubygem-rake \
rubygem-sass-rails>=3.2.6:${PORTSDIR}/textproc/rubygem-sass-rails \
rubygem-coffee-rails>=3.2.2:${PORTSDIR}/devel/rubygem-coffee-rails \
rubygem-jquery-rails>=2.2.0:${PORTSDIR}/www/rubygem-jquery-rails \
rubygem-sqlite3>=1.3.7:${PORTSDIR}/databases/rubygem-sqlite3 \
rubygem-uglifier>=1.3.0:${PORTSDIR}/www/rubygem-uglifier \
rubygem-bundler>=1.1.5:${PORTSDIR}/sysutils/rubygem-bundler \
rubygem-treetop>=1.4.12:${PORTSDIR}/devel/rubygem-treetop \
rubygem-json>=1.7.6:${PORTSDIR}/devel/rubygem-json \
rubygem-tzinfo>=0.3.35:${PORTSDIR}/devel/rubygem-tzinfo \
rubygem-builder>=3.0.4:${PORTSDIR}/devel/rubygem-builder \
rubygem-i18n>=0.6.1:${PORTSDIR}/devel/rubygem-i18n \
rubygem-rack>=1.4.4:${PORTSDIR}/www/rubygem-rack \
rubygem-rack-test>=0.6.1:${PORTSDIR}/www/rubygem-rack-test \
node:${PORTSDIR}/www/node
# 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_RUBY_RDOC= yes
USE_RUBYGEMS= yes
RUBYGEM_AUTOPLIST= yes
OPTIONS_DEFINE=FCGI PASSENGER MEMCACHE_CLIENT
FCGI_DESC= FastCGI backend
MONGRELCLUSTER_DESC= Mongrel Cluster backend
PASSENGER_DESC= Passenger backend
MEMCACHE_CLIENT_DESC= MemCache-Client support
OPTIONSFILE= ${PORT_DBDIR}/rubygem-${PORTNAME}/options
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MFCGI}
RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/fcgi.so:${PORTSDIR}/www/ruby-fcgi
.endif
.if ${PORT_OPTIONS:MMEMCACHE_CLIENT}
RUN_DEPENDS+= rubygem-memcache-client>=1.2.0:${PORTSDIR}/databases/rubygem-memcache-client
.endif
.if ${PORT_OPTIONS:MPASSENGER}
RUN_DEPENDS+= rubygem-passenger>=2.2.15:${PORTSDIR}/www/rubygem-passenger
.endif
.include <bsd.port.pre.mk>
.if ${RUBY_VER} == 1.9
RUN_DEPENDS+= rubygem-turn>=0.8.3:${PORTSDIR}/devel/rubygem-turn
.endif
.include <bsd.port.post.mk>
|