diff options
author | taca <taca@pkgsrc.org> | 2014-02-09 05:14:39 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2014-02-09 05:14:39 +0000 |
commit | f2f7f564c580f8dca4d84c7fd57b7230247704b1 (patch) | |
tree | 6c714549372996ee62c4e5102548fa03e5dacbbc /lang/ruby | |
parent | 3e8ea0854c8a791177104289390703390179a408 (diff) | |
download | pkgsrc-f2f7f564c580f8dca4d84c7fd57b7230247704b1.tar.gz |
* Define versions of gems, rdoc rake and json which bundled
with Ruby's distribution.
* Define some variable for Ruby 2.1.0.
Diffstat (limited to 'lang/ruby')
-rw-r--r-- | lang/ruby/rubyversion.mk | 32 |
1 files changed, 30 insertions, 2 deletions
diff --git a/lang/ruby/rubyversion.mk b/lang/ruby/rubyversion.mk index 079a996e328..ccdedaffefd 100644 --- a/lang/ruby/rubyversion.mk +++ b/lang/ruby/rubyversion.mk @@ -1,4 +1,4 @@ -# $NetBSD: rubyversion.mk,v 1.109 2014/02/04 03:16:44 taca Exp $ +# $NetBSD: rubyversion.mk,v 1.110 2014/02/09 05:14:39 taca Exp $ # # This file determines which Ruby version is used as a dependency for @@ -210,21 +210,24 @@ RUBY_VERSION_REQD?= ${PKGNAME_REQD:C/ruby([0-9][0-9]+)-.*/\1/} RUBY18_VERSION= 1.8.7 RUBY193_VERSION= 1.9.3 RUBY200_VERSION= 2.0.0 +RUBY210_VERSION= 2.1.0 # patch RUBY18_PATCHLEVEL= pl374 RUBY193_PATCHLEVEL= p484 RUBY200_PATCHLEVEL= p353 +RUBY210_PATCHLEVEL= # current API compatible version; used for version of shared library RUBY18_API_VERSION= 1.8.7 RUBY193_API_VERSION= 1.9.1 RUBY200_API_VERSION= 2.0.0 +RUBY210_API_VERSION= 2.1.0 # RUBY_VERSION_DEFAULT?= 193 -RUBY_VERSION_SUPPORTED?= 200 193 18 +RUBY_VERSION_SUPPORTED?= 200 193 18 # 210 .if defined(RUBY_VERSION_REQD) . for rv in ${RUBY_VERSION_SUPPORTED} @@ -254,14 +257,39 @@ RUBY_VER:= ${RUBY_VER_MAP.${RUBY_VER}:U${RUBY_VER}} RUBY_VERSION= ${RUBY18_VERSION} RUBY_VERSION_FULL= ${RUBY_VERSION}${RUBY_PATCHLEVEL:S/pl/./} RUBY_ABI_VERSION= ${RUBY18_API_VERSION} + +RUBY_RDOC_VERSION= 1.0.1 + .elif ${RUBY_VER} == "193" RUBY_VERSION= ${RUBY193_VERSION} RUBY_VERSION_FULL= ${RUBY_VERSION}${RUBY_PATCHLEVEL} RUBY_ABI_VERSION= ${RUBY_VERSION} + +RUBY_GEMS_VERSION= 1.8.23 +RUBY_RDOC_VERSION= 3.9.4 +RUBY_RAKE_VERSION= 0.9.2.2 +RUBY_JSON_VERSION= 1.5.5 + .elif ${RUBY_VER} == "200" RUBY_VERSION= ${RUBY200_VERSION} RUBY_VERSION_FULL= ${RUBY_VERSION}${RUBY_PATCHLEVEL} RUBY_ABI_VERSION= ${RUBY_VERSION} + +RUBY_GEMS_VERSION= 2.0.3 +RUBY_RDOC_VERSION= 4.1.0 +RUBY_RAKE_VERSION= 0.9.6 +RUBY_JSON_VERSION= 1.7.7 + +.elif ${RUBY_VER} == "210" +RUBY_VERSION= ${RUBY210_VERSION} +RUBY_VERSION_FULL= ${RUBY_VERSION}${RUBY_PATCHLEVEL} +RUBY_ABI_VERSION= ${RUBY_VERSION} + +RUBY_GEMS_VERSION= 2.2.0 +RUBY_RDOC_VERSION= 4.1.0 +RUBY_RAKE_VERSION= 10.1.0 +RUBY_JSON_VERSION= 1.8.1 + .else PKG_FAIL_REASON+= "Unknown Ruby version specified: ${RUBY_VER}." .endif |