Bug 242352 - devel/ruby-gems: Add framework to handle man pages installed by gem
Summary: devel/ruby-gems: Add framework to handle man pages installed by gem
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ruby mailing list
URL:
Keywords:
Depends on: 241554
Blocks: 241555 241556 242353
  Show dependency treegraph
 
Reported: 2019-12-02 08:08 UTC by Yasuhiro KIMURA
Modified: 2019-12-02 08:15 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (ruby)


Attachments
Patch file (3.79 KB, patch)
2019-12-02 08:08 UTC, Yasuhiro KIMURA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yasuhiro KIMURA 2019-12-02 08:08:32 UTC
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.