Now, this package isn't meta-package.
Ruby itself is provided as language/ruby18 (Ruby 1.8.1) or
language/ruby16 (Ruby 1.6.8) and Ruby's commands are
$PREFIX/bin/ruby18 or $PREFIX/bin/ruby16.
This pacakge provide commands without its version in name
as $PREFIX/bin/ruby.
Some extention libraries bundled in Ruby's distribution are
move to separate packages. For ruby18:
converters/ruby-iconv: Iconv module
databases/ruby-dbm: DBM module
databases/ruby-gdbm: GDBM module
devel/ruby-curses: Curses module
security/ruby-digest: message digest module
security/ruby-openssl: OpenSSL module
devel/ruby-readline: readline module
x11/ruby-tcltklib: Tcl/Tk libraries
x11/ruby-tk: Tk modules
And for ruby16:
databases/ruby-dbm: DBM module
databases/ruby-gdbm: GDBM module
devel/ruby16-curses: Curses module
security/ruby-digest: message digest module
devel/ruby-readline: readline module
x11/ruby16-tcltklib: Tcl/Tk libraries
x11/ruby16-tk: Tk modules
You can specify default Ruby's version by setting
RUBY_VERSION_DEFAULT to 1.6 or 1.8 in /etc/mk.conf.
${MACHINE_GNU_PLATFORM} moved ${RUBY_SITEARCHLIBDIR} on some ports,
and also bump the dependency and PKGREVISION in ruby-gtk, which is
the only package that seems to use that.
first component is now a package name+version/pattern, no more
executable/patchname/whatnot.
While there, introduce BUILD_USES_MSGFMT as shorthand to pull in
devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current).
Patch by Alistair Crooks <agc@netbsd.org>
out of date - it was based on a.out OBJECT_FMT, and added entries in the
generated PLISTs to reflect the symlinks that ELF packages uses. It also
tried to be clever, and removed and recreated any symbolic links that were
created, which has resulted in some fun, especially with packages which
use dlopen(3) to load modules. Some recent changes to our ld.so to bring
it more into line with other Operating Systems also exposed some cracks.
+ Modify bsd.pkg.mk and its shared object handling, so that PLISTs now contain
the ELF symlinks.
+ Don't mess about with file system entries when handling shared objects in
bsd.pkg.mk, since it's likely that libtool and the BSD *.mk processing will
have got it right, and have a much better idea than we do.
+ Modify PLISTs to contain "ELF symlinks"
+ On a.out platforms, delete any "ELF symlinks" from the generated PLISTs
+ On ELF platforms, no extra processing needs to be done in bsd.pkg.mk
+ Modify print-PLIST target in bsd.pkg.mk to add dummy symlink entries on
a.out platforms
+ Update the documentation in Packages.txt
With many thanks to Thomas Klausner for keeping me honest with this.