summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2011-03-23 14:27:14 +0000
committertaca <taca@pkgsrc.org>2011-03-23 14:27:14 +0000
commitc2aaa409d0f2ac4efdf585ebf229eec8252f6c25 (patch)
treead587739840298bceb40dd2721ea7aecbdafdd8a /www
parentc6c48d115884518fff495c67d3f863f041b45a37 (diff)
downloadpkgsrc-c2aaa409d0f2ac4efdf585ebf229eec8252f6c25.tar.gz
Switch to utilize lang/ruby/rail.mk.
Diffstat (limited to 'www')
-rw-r--r--www/ruby-actionpack/Makefile8
-rw-r--r--www/ruby-activeresource/Makefile8
2 files changed, 10 insertions, 6 deletions
diff --git a/www/ruby-actionpack/Makefile b/www/ruby-actionpack/Makefile
index 871de299b0e..f110d152c7f 100644
--- a/www/ruby-actionpack/Makefile
+++ b/www/ruby-actionpack/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.22 2011/02/09 12:40:51 taca Exp $
+# $NetBSD: Makefile,v 1.23 2011/03/23 14:27:14 taca Exp $
-DISTNAME= actionpack-2.3.11
+DISTNAME= actionpack-${RUBY_RAILS2_VERSION}
CATEGORIES= www
MAINTAINER= minskim@NetBSD.org
@@ -8,7 +8,9 @@ HOMEPAGE= http://rubyforge.org/projects/actionpack/
COMMENT= Two-step approach to web response generation
LICENSE= mit
-DEPENDS+= ${RUBY_PKGPREFIX}-activesupport>=2.3.11<2.3.12:../../devel/ruby-activesupport
+RUBY_RAILS= 2
+
+DEPENDS+= ${RUBY_ACTIVESUPPORT_DEPENDS}
DEPENDS+= ${RUBY_PKGPREFIX}-rack>=1.1.0<1.2.0:../../www/ruby-rack11
.include "../../lang/ruby/gem.mk"
diff --git a/www/ruby-activeresource/Makefile b/www/ruby-activeresource/Makefile
index 39ae3cc188e..f403961ea53 100644
--- a/www/ruby-activeresource/Makefile
+++ b/www/ruby-activeresource/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.11 2011/02/09 12:43:09 taca Exp $
+# $NetBSD: Makefile,v 1.12 2011/03/23 14:27:14 taca Exp $
-DISTNAME= activeresource-2.3.11
+DISTNAME= activeresource-${RUBY_RAILS2_VERSION}
CATEGORIES= www
MAINTAINER= minskim@NetBSD.org
@@ -8,7 +8,9 @@ HOMEPAGE= http://rubyforge.org/projects/activeresource/
COMMENT= Object-relational mapping for REST webservices
LICENSE= mit
-DEPENDS+= ${RUBY_PKGPREFIX}-activesupport>=2.3.11<2.3.12:../../devel/ruby-activesupport
+RUBY_RAILS= 2
+
+DEPENDS+= ${RUBY_ACTIVESUPPORT_DEPENDS}
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"