Commit graph

27 commits

Author SHA1 Message Date
taca
2f7b096bf4 Add GEM_CLEANBUOLD_EXTENSIONS and GEM_EXTSDIR macro and related rules
to support rubygems bundled with Ruby 2.1.1 (Rubygems 2.2 and later?).
2014-03-13 17:21:01 +00:00
taca
f125724616 Use versions in rubyversion.mk. 2014-02-09 05:15:21 +00:00
taca
eab7274cb8 Revert accidently commit files which not yet ready. 2014-02-02 07:48:35 +00:00
taca
70a91cc08a Utilize PKGNAME_REQD to determine required Ruby version.
Address to PR pkg/48509.
2014-02-02 07:46:16 +00:00
taca
22386cf168 Update rubygems' versions information in comment. 2013-09-11 13:22:15 +00:00
jperkin
1388aa05b2 Fix shell syntax error which has been breaking all gem builds on SunOS for
the past week as per the reports on pkgsrc-bulk.  Not sure why it wasn't
showing up on other platforms, but I am assuming this is the correct fix.
2013-07-14 21:08:17 +00:00
taca
ca13549f43 Fix gem handling.
o Don't assume _DISTDIR end with '/' (by DESTDIR).
o A small clean up to GEM_CLEANBUILD handling.

A few clean up.
2013-07-07 15:16:38 +00:00
rodent
b65af7be2b Remove "Trailing empty lines." and/or "Trailing white-space." 2013-04-08 11:17:08 +00:00
taca
d6a81b31d6 Make GEM_PATH environment settable with MAKE_ENV. 2013-04-02 15:22:39 +00:00
obache
39ffff7d30 Move definition of rubygems sites so that it is usable with packages
not using gem as installation but as archive.
2013-03-14 12:57:42 +00:00
taca
e79e6ac62a gem.mk:
* Add Rubygem 2.0.0 and Ruby 2.0.0 support which wouldn't enabled yet.
* Use Ruby code format for gemspec to build/install instead of YAML.
* Add --backtrace option to "gem install".

files/update-gemspec.rb:
* Allow rename name attribute in gemspec.
* Handle Ruby code format of gemspec.
2013-03-07 16:42:53 +00:00
asau
49d542f06c Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-03 12:55:08 +00:00
taca
4626b0d32b Remove support of ruby19 (Ruby 1.9.2). 2012-09-16 15:23:12 +00:00
taca
296af3f9d8 * Move some rails related part from gem.mk to module.mk.
* Require rdoc 2.5.0 and later with Ruby on Rails version 3.1 and later.
2012-03-20 06:14:30 +00:00
taca
6b6d4285a8 Don't override unconditionally set USE_RAKE. 2012-03-18 02:24:13 +00:00
taca
c553a7fa2c o Now OVERRIDE_GEMSPEC can modify files in gemspec.
o Protect multiple inclusion.

Nothing should affect current packages.
2012-03-02 03:46:09 +00:00
obache
bae81709f6 Move PRINT_PLIST_AWK stuff for Gems before other ruby related PRINT_PLIST_AWK
will be added, or not works as expected.
2012-01-12 08:43:22 +00:00
taca
488f4abcd4 * Add RUBY_RAILS_SUPPORTED. Each Ruby on Rails related pacakge tells
version(s) of acceptable Ruby on Rails.

  It almost replace previous RUBY_RAILS.

* Add some definitions for Ruby on Rails 3.1.
2011-12-13 15:47:06 +00:00
taca
39c6c87b49 * Document rubygem's version contained in each Ruby release.
* Add RUBYGEM_LANG and use it as LANG and LC_CTYPE for proper rdoc
  processing.
* Add Ruby 1.9.3 support.
2011-11-08 15:19:22 +00:00
taca
8aa8b36061 Now OVERRIDE_GEMSPEC can delete dependency in a gemspec file.
And a little documentation clean up.
2011-09-13 03:23:04 +00:00
taca
abadc9c50f Introduce OVERRIDE_GEMSPEC.
If it specified, it modify gemspec's dependency using update-gemspec.rb
Ruby script.

The goal is avoid to use patch for modifying depending version or gem's
name since gemspec files' content differ using rubygem's version.
2011-08-12 14:35:34 +00:00
taca
b3f4c9671b Correct RUBYGEMS_REQD's default in comment. 2011-05-10 13:31:49 +00:00
taca
41ef7225e9 * Introduce RUBYGEMS_REQD as a package-settable variable.
Specify minimum required rubygems version.
* Omit use of _RUBYGEM_UNPACK_OPTION.
2011-03-27 13:05:16 +00:00
taca
8cf4e1d79a Add code fragment to select version of Ruby on Rails.
User settable variable is RUBY_RAILS_DEFAULT: 2 or 3.  (default 2)
2011-03-23 14:22:49 +00:00
obache
5a78bc4634 rubygems.org returns invalid Location header (no scheme and hostname) for
redirect, then speficy the redirected one here instead.
2011-01-13 12:09:04 +00:00
obache
2135d8f971 Exactly set TZ=UTC, or not worked as expected on Solaris (time-zone difference = 0).
Fixes PR#44037.
2010-11-10 10:57:41 +00:00
taca
ba409ed2f3 Move misc/rubygems/rubygem.mk as lang/ruby/gem.mk.
* Many directory macro, such as GEM_DOCDIR and GEM_LIBDIR are changed
  to relative path against PREFIX.
* RUBYGEM_OPTIONS could be set from pkgsrc's Makefile.
* RUBY_BUILD_RDOC and RUBY_BUILD_RI controls build of rdoc/ri.  But,
  currently ruby18-base and ruby19-base according to PKG_OPTION.
* Assume name of commands gem18/rake18 or gem19/rake19.
* GEM_BUILD's default has changed from rake to gemspec.  Most of rubygem
  based pacakges would be installed via gem command.
* USE_RAKE controls the needs of the rake command.
* MASTER_SITES now use http://rubygems.org/downloads/ first.
* Check existence of GEM_DOCDIR before execute find(1).
* Deprecate RUBYGEM_PKGPREFIX which was defined the same as RUBY_PKGPREFIX
  in long term.
* PRIVILEGED_STAGES isn't set "clean" any more.

misc/rubygems/rubygem.mk will be removed later.
2010-09-10 03:12:02 +00:00