aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-09-02 02:43:28 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-09-02 02:43:28 +0000
commit7bd33b57b410185961665938dead96e4dff1ad4a (patch)
tree3905e6f42c724980510c47cef4de697f1a8a73d3 /www
parent2c48b50a7bb306d931a30b73ca537657e7cd5bda (diff)
downloadports-7bd33b57b410185961665938dead96e4dff1ad4a.tar.gz
ports-7bd33b57b410185961665938dead96e4dff1ad4a.zip
Presenting Rails 3.0
http://weblog.rubyonrails.org/2010/8/29/rails-3-0-it-s-done N.B.: lang/ruby19 does not work with rails3 until the upgrade to 1.9.2 by stas@ happens. - Update www/rubygem-rails to 3.0.0 Sponsored by: RideCharge Inc. / Taximagic
Notes
Notes: svn path=/head/; revision=260412
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/rubygem-actionpack/Makefile12
-rw-r--r--www/rubygem-actionpack/distinfo6
-rw-r--r--www/rubygem-activeresource/Makefile5
-rw-r--r--www/rubygem-activeresource/distinfo6
-rw-r--r--www/rubygem-rails/Makefile46
-rw-r--r--www/rubygem-rails/distinfo6
-rw-r--r--www/rubygem-railties/Makefile24
-rw-r--r--www/rubygem-railties/distinfo3
-rw-r--r--www/rubygem-railties/pkg-descr3
10 files changed, 83 insertions, 29 deletions
diff --git a/www/Makefile b/www/Makefile
index a7b5a0f94545..8aed9d37c022 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1551,6 +1551,7 @@
SUBDIR += rubygem-rack-mount
SUBDIR += rubygem-rack-test
SUBDIR += rubygem-rails
+ SUBDIR += rubygem-railties
SUBDIR += rubygem-rails-app-installer
SUBDIR += rubygem-ramaze
SUBDIR += rubygem-redcloth
diff --git a/www/rubygem-actionpack/Makefile b/www/rubygem-actionpack/Makefile
index f465e206bcdc..1c7ff86ab440 100644
--- a/www/rubygem-actionpack/Makefile
+++ b/www/rubygem-actionpack/Makefile
@@ -5,15 +5,21 @@
# $FreeBSD$
PORTNAME= actionpack
-PORTVERSION= 2.3.8
+PORTVERSION= 3.0.0
CATEGORIES= www rubygems
MASTER_SITES= RG
MAINTAINER= ruby@FreeBSD.org
COMMENT= Action Controller and Action View of Rails MVC Framework
-RUN_DEPENDS= ${LOCALBASE}/${SPEC_DIR}/activesupport-${PORTVERSION}.gemspec:${PORTSDIR}/devel/rubygem-activesupport \
- rubygem-rack>=1.1.0:${PORTSDIR}/www/rubygem-rack
+RUN_DEPENDS= rubygem-activesupport>=${PORTVERSION}:${PORTSDIR}/devel/rubygem-activesupport \
+ rubygem-activemodel>=${PORTVERSION}:${PORTSDIR}/databases/rubygem-activemodel \
+ rubygem-tzinfo>=0.3.23:${PORTSDIR}/devel/rubygem-tzinfo \
+ rubygem-erubis>=2.6.6:${PORTSDIR}/www/rubygem-erubis \
+ rubygem-rack-mount>=0.6.12:${PORTSDIR}/www/rubygem-rack-mount \
+ rubygem-rack-test>=0.5.4:${PORTSDIR}/www/rubygem-rack-test \
+ rubygem-builder>=2.1.2:${PORTSDIR}/devel/rubygem-builder \
+ rubygem-i18n>=0.4.1:${PORTSDIR}/devel/rubygem-i18n
USE_RUBY= yes
USE_RUBYGEMS= yes
diff --git a/www/rubygem-actionpack/distinfo b/www/rubygem-actionpack/distinfo
index 5c6a7822588a..90658c233717 100644
--- a/www/rubygem-actionpack/distinfo
+++ b/www/rubygem-actionpack/distinfo
@@ -1,3 +1,3 @@
-MD5 (rubygem/actionpack-2.3.8.gem) = 75d7e35afa5a5bfaac5c8fe5f8967ed7
-SHA256 (rubygem/actionpack-2.3.8.gem) = 98bff14ff6981f5709b3d43f47bb25fcfeff70b2b75a93cf9aa74a12ba6fd14f
-SIZE (rubygem/actionpack-2.3.8.gem) = 743424
+MD5 (rubygem/actionpack-3.0.0.gem) = e87bc47d7f3c2a79e4694bbccf6e6506
+SHA256 (rubygem/actionpack-3.0.0.gem) = ff68121ae685d063828a1c6e1c8d9b4048a71d1bffef565374d6c649d5e855e2
+SIZE (rubygem/actionpack-3.0.0.gem) = 344576
diff --git a/www/rubygem-activeresource/Makefile b/www/rubygem-activeresource/Makefile
index 96f5aa51fecb..efcd01dcb7aa 100644
--- a/www/rubygem-activeresource/Makefile
+++ b/www/rubygem-activeresource/Makefile
@@ -5,14 +5,15 @@
# $FreeBSD$
PORTNAME= activeresource
-PORTVERSION= 2.3.8
+PORTVERSION= 3.0.0
CATEGORIES= www rubygems
MASTER_SITES= RG
MAINTAINER= ruby@FreeBSD.org
COMMENT= A coherent wrapper object-relational mapping for REST web services
-RUN_DEPENDS= ${LOCALBASE}/${SPEC_DIR}/activesupport-${PORTVERSION}.gemspec:${PORTSDIR}/devel/rubygem-activesupport
+RUN_DEPENDS= rubygem-activesupport>=${PORTVERSION}:${PORTSDIR}/devel/rubygem-activesupport \
+ rubygem-activemodel>=${PORTVERSION}:${PORTSDIR}/databases/rubygem-activemodel
USE_RUBY= yes
USE_RUBYGEMS= yes
diff --git a/www/rubygem-activeresource/distinfo b/www/rubygem-activeresource/distinfo
index 1b83d097e1fd..5cae57ddf720 100644
--- a/www/rubygem-activeresource/distinfo
+++ b/www/rubygem-activeresource/distinfo
@@ -1,3 +1,3 @@
-MD5 (rubygem/activeresource-2.3.8.gem) = 7318e7652bd17433e4fec17fe9a201b7
-SHA256 (rubygem/activeresource-2.3.8.gem) = 494ded425c5d2d3b0b337330d82bb0318cb74ad74f63a05e1323b6036836c1ec
-SIZE (rubygem/activeresource-2.3.8.gem) = 483328
+MD5 (rubygem/activeresource-3.0.0.gem) = f82f2b0e600593e1cdcfc379222a2a00
+SHA256 (rubygem/activeresource-3.0.0.gem) = 5e745f7579329674b9d6089f09bd1cac8b73877920a6efe23c6950b83875ad30
+SIZE (rubygem/activeresource-3.0.0.gem) = 34304
diff --git a/www/rubygem-rails/Makefile b/www/rubygem-rails/Makefile
index 0f05b55212a4..c739e606d189 100644
--- a/www/rubygem-rails/Makefile
+++ b/www/rubygem-rails/Makefile
@@ -5,31 +5,35 @@
# $FreeBSD$
PORTNAME= rails
-PORTVERSION= 2.3.8
+PORTVERSION= 3.0.0
CATEGORIES= www rubygems
MASTER_SITES= RG
MAINTAINER= ruby@FreeBSD.org
COMMENT= MVC web application framework
-RUN_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= 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-bundler>=1.0.0:${PORTSDIR}/sysutils/rubygem-bundler
-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
+RUBYGEM_AUTOPLIST= yes
PLIST_FILES= bin/rails
-.include <bsd.port.pre.mk>
+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
@@ -39,4 +43,16 @@ RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/fcgi.so:${PORTSDIR}/www/ruby-fcgi
RUN_DEPENDS+= rubygem-memcache-client>=1.2.0:${PORTSDIR}/databases/rubygem-memcache-client
.endif
-.include <bsd.port.post.mk>
+.if defined(WITH_MONGREL)
+RUN_DEPENDS+= rubygem-mongrel>=1.1.5:${PORTSDIR}/www/rubygem-mongrel
+.endif
+
+.if defined(WITH_MONGRELCLUSTER)
+RUN_DEPENDS+= rubygem-mongre_clusterl>=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>
diff --git a/www/rubygem-rails/distinfo b/www/rubygem-rails/distinfo
index 0e8672d74bb8..a39d2bcdc4e9 100644
--- a/www/rubygem-rails/distinfo
+++ b/www/rubygem-rails/distinfo
@@ -1,3 +1,3 @@
-MD5 (rubygem/rails-2.3.8.gem) = a3061ceadf8877d9cdfd2a6d80387ae7
-SHA256 (rubygem/rails-2.3.8.gem) = 59efc4532e0886ad4912dc06a113ba2d455f7a380f972b24da8414df1dfb377d
-SIZE (rubygem/rails-2.3.8.gem) = 1259008
+MD5 (rubygem/rails-3.0.0.gem) = 4942e721d24f299a04319b519e5230ff
+SHA256 (rubygem/rails-3.0.0.gem) = 5a9a2c14077d27d849ae660c03dd9427b8cd9c3151135968d89b0454be8c5efe
+SIZE (rubygem/rails-3.0.0.gem) = 3584
diff --git a/www/rubygem-railties/Makefile b/www/rubygem-railties/Makefile
new file mode 100644
index 000000000000..f6708a3882b8
--- /dev/null
+++ b/www/rubygem-railties/Makefile
@@ -0,0 +1,24 @@
+# Ports collection makefile for: rubygem-railties
+# Date created: 1 September 2010
+# Whom: Philip M. Gollucci <pgollucci@p6m7g8.com>
+#
+# $FreeBSD$
+
+PORTNAME= railties
+PORTVERSION= 3.0.0
+CATEGORIES= www rubygems
+MASTER_SITES= RG
+
+MAINTAINER= ruby@FreeBSD.org
+COMMENT= Rails internals bootup, plugins, generators, and rake tasks
+
+RUN_DEPENDS= rubygem-activesupport>=${PORTVERSION}:${PORTSDIR}/devel/rubygem-activesupport \
+ rubygem-actionpack>=${PORTVERSION}:${PORTSDIR}/www/rubygem-actionpack \
+ rubygem-thor>=0.14.0:${PORTSDIR}/devel/rubygem-thor \
+ rubygem-rake>=0.8.4:${PORTSDIR}/devel/rubygem-rake
+
+USE_RUBY= yes
+USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST= yes
+
+.include <bsd.port.mk>
diff --git a/www/rubygem-railties/distinfo b/www/rubygem-railties/distinfo
new file mode 100644
index 000000000000..794973017668
--- /dev/null
+++ b/www/rubygem-railties/distinfo
@@ -0,0 +1,3 @@
+MD5 (rubygem/railties-3.0.0.gem) = 9b034f3716b381d37cd5a8d8a9b798c0
+SHA256 (rubygem/railties-3.0.0.gem) = 23ad1cb85daae67e5762a6f7acb2709a854a7369c6003025a4d21fbda109427e
+SIZE (rubygem/railties-3.0.0.gem) = 1504768
diff --git a/www/rubygem-railties/pkg-descr b/www/rubygem-railties/pkg-descr
new file mode 100644
index 000000000000..f387d59ef82d
--- /dev/null
+++ b/www/rubygem-railties/pkg-descr
@@ -0,0 +1,3 @@
+Rails internals: application bootup, plugins, generators, and rake tasks.
+
+WWW: http://rubygems.org/gems/railties