diff options
author | swills <swills@FreeBSD.org> | 2011-08-21 12:03:37 +0800 |
---|---|---|
committer | swills <swills@FreeBSD.org> | 2011-08-21 12:03:37 +0800 |
commit | 2da9efc209e9feff60ec9972ac0059638378b52e (patch) | |
tree | 1efb6c60da849c8186aee55ffa1063bf44fc9c27 /devel | |
parent | 57d56aa8f37044f59debfdb32d79f4a5d6bb1aca (diff) | |
download | freebsd-ports-gnome-2da9efc209e9feff60ec9972ac0059638378b52e.tar.gz freebsd-ports-gnome-2da9efc209e9feff60ec9972ac0059638378b52e.tar.zst freebsd-ports-gnome-2da9efc209e9feff60ec9972ac0059638378b52e.zip |
- Update Ruby 1.9 to p290
- Make Ruby 1.9 the default Ruby
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ruby-gems/Makefile | 14 | ||||
-rw-r--r-- | devel/ruby-gems/pkg-plist | 4 | ||||
-rw-r--r-- | devel/rubygem-rake/distinfo | 4 |
3 files changed, 9 insertions, 13 deletions
diff --git a/devel/ruby-gems/Makefile b/devel/ruby-gems/Makefile index b0698d978db4..51d4e7fd0fee 100644 --- a/devel/ruby-gems/Makefile +++ b/devel/ruby-gems/Makefile @@ -20,11 +20,11 @@ COMMENT= Package management framework for the Ruby language USE_RUBY= yes RUBY_SETUP= setup.rb -RUBY_VER= 1.8 NO_BUILD= yes -PLIST_SUB+= DISTNAME="${DISTNAME}" +PLIST_SUB+= DISTNAME="${DISTNAME}" \ + RUBY_SUFFIX="${RUBY_SUFFIX}" .if !defined(NOPORTDOCS) RUBY_SETUP_OPTIONS= @@ -43,17 +43,13 @@ GEMS_DOC_DIR_P= ${GEMS_DOC_BASE_DIR_P}/%%DISTNAME%% .include <bsd.port.pre.mk> -.if ${RUBY_VER} == 1.9 -IGNORE= already included in this ruby distribution -.endif - do-install: cd ${WRKSRC}; ${RUBY} ${RUBY_SETUP} ${RUBY_SETUP_OPTIONS} post-install: @${MKDIR} ${PREFIX}/${GEMS_DOC_BASE_DIR}/ @${TOUCH} ${PREFIX}/${GEMS_DOC_BASE_DIR}/.keep_this - @${LN} -sf ${PREFIX}/bin/gem18 ${PREFIX}/bin/gem + @${LN} -sf ${PREFIX}/bin/gem${RUBY_VER:S/.//} ${PREFIX}/bin/gem .if !defined(NOPORTDOCS) @${FIND} -ds ${PREFIX}/lib/ruby/gems/${RUBY_VER}/doc/${DISTNAME} \ @@ -69,8 +65,8 @@ post-install: # This target is only meant to be used by the port maintainer. x-generate-plist: ${ECHO} bin/gem > pkg-plist.new - ${ECHO} bin/gem18 >> pkg-plist.new - ${ECHO} bin/update_rubygems18 >> pkg-plist.new + ${ECHO} bin/gem${RUBY_VER:S/.//} >> pkg-plist.new + ${ECHO} bin/update_rubygems${RUBY_VER:S/.//} >> pkg-plist.new ${ECHO} ${GEMS_VER_DIR_P}/cache/sources-0.0.2.gem >> pkg-plist.new ${FIND} ${PREFIX}/${GEMS_VER_DIR}/gems/sources-0.0.2 -type f | ${SORT} | ${SED} -e 's,${PREFIX}/${GEMS_VER_DIR},${GEMS_VER_DIR_P},' >> pkg-plist.new ${ECHO} ${GEMS_VER_DIR_P}/specifications/sources-0.0.2.gemspec >> pkg-plist.new diff --git a/devel/ruby-gems/pkg-plist b/devel/ruby-gems/pkg-plist index 4e653dd9dbd8..f6d9370053a4 100644 --- a/devel/ruby-gems/pkg-plist +++ b/devel/ruby-gems/pkg-plist @@ -1,7 +1,7 @@ @comment $FreeBSD$ bin/gem -bin/gem18 -bin/update_rubygems18 +bin/gem%%RUBY_SUFFIX%% +bin/update_rubygems%%RUBY_SUFFIX%% lib/ruby/gems/%%RUBY_VER%%/cache/sources-0.0.2.gem lib/ruby/gems/%%RUBY_VER%%/gems/sources-0.0.2/lib/sources.rb lib/ruby/gems/%%RUBY_VER%%/specifications/sources-0.0.2.gemspec diff --git a/devel/rubygem-rake/distinfo b/devel/rubygem-rake/distinfo index d02cffc94047..9c08d17f02a2 100644 --- a/devel/rubygem-rake/distinfo +++ b/devel/rubygem-rake/distinfo @@ -1,2 +1,2 @@ -SHA256 (rubygem/rake-0.8.7.gem) = 10b37bdad695497c98aa8d7632e2aa5a589ddae2abaa42d24e5950de4ffde10f -SIZE (rubygem/rake-0.8.7.gem) = 104960 +SHA256 (rubygem/rake-0.9.2.gem) = c55b525b421fd833a93171ad3d7f04528ca8e87d99ac273f8933038942a5888c +SIZE (rubygem/rake-0.9.2.gem) = 113152 |