Here's an updated diff with the following changes: Make jruby use multi-packages, with a separate package for the ri documentation files.
Better patch for the jruby launcher binary. Previously, it segfaulted if you didn't have the java bin directory, the localbase bin directory, or /usr/bin in the PATH. This broke the building of some gem ports with the jruby FLAVOR. If a more experienced C programmer could review this patch, I'd appreciate it. I've tested it and works even if you do PATH= /usr/local/jruby/bin/jruby Jeremy