Created attachment 209589 [details] Patch file * When devel/ruby-gems is installed - Make directories for man pages ${PREFIX}/${GEMS_MAN_DIR}/man[1-9]. - Add above directory to man path. * If rubygem ports installs manuals, set their path (relative to ${PREFIX}) to GEM_MANUALS_SEC[1-9] in Makefile. * If GEM_MANUALS_SEC[1-9] isn't empty, Mk/Use/gem.mk do following jobs - Create relative symbolic links from ${PREFIX}/${GEMS_MAN_DIR}/man[1-9] to real path to each man pages. - Add symbolic links to plist. This patch is based on my proposal in bug #241555, comment #11.
Correctly, the patched based on bug #241554, comment #11.
With commit of ports 8e74955b2dc7 man(1) can find manpages of irb, ri and bunder properly now.