blob: 6f495fdfbfc487687f5af6853183d34695c0b0a0 (
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
73
74
75
76
77
78
|
# Ports collection makefile for: rubygem-rails
# Date created: 27 May 2005
# Whom: Jonathan Weiss (<jw@innerewut.de>)
#
# $FreeBSD$
PORTNAME= rails
PORTVERSION= 3.2.8
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>=0.8.7:${PORTSDIR}/devel/rubygem-rake \
rubygem-sass-rails>=1.0.18:${PORTSDIR}/textproc/rubygem-sass-rails \
rubygem-coffee-rails>=3.1.1:${PORTSDIR}/devel/rubygem-coffee-rails \
rubygem-jquery-rails>=1.0.18:${PORTSDIR}/www/rubygem-jquery-rails \
rubygem-sqlite3>=1.3.4:${PORTSDIR}/databases/rubygem-sqlite3 \
rubygem-uglifier>=1.1.0:${PORTSDIR}/www/rubygem-uglifier \
rubygem-bundler>=1.0:${PORTSDIR}/sysutils/rubygem-bundler \
rubygem-treetop>=1.4.10:${PORTSDIR}/devel/rubygem-treetop \
rubygem-json>=1.6.1:${PORTSDIR}/devel/rubygem-json \
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= \
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.pre.mk>
.if ${RUBY_VER} == 1.9
RUN_DEPENDS+= rubygem-turn>=0.8.3:${PORTSDIR}/devel/rubygem-turn
.endif
.include <bsd.port.post.mk>
|