Date: Fri, 22 Nov 2019 03:32:42 +0000 From: bugzilla-noreply@freebsd.org To: ruby@FreeBSD.org Subject: [Bug 241554] lang/ruby26: Don't install bin/{irb,rdoc,ri}, install man pages for bundler and gem Message-ID: <bug-241554-21402-QKgtxNR8PX@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-241554-21402@https.bugs.freebsd.org/bugzilla/> References: <bug-241554-21402@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241554 --- Comment #11 from Yasuhiro KIMURA <yasu@utahime.org> --- I'd like to revise my proposal as following. lang/ruby26: * Don't install ${PREFIX}bin/{irb,rdoc,ri}. * Don't install man pages of irb, rdoc and bundler. devel/ruby-gems: * Create ${PREFIX}/lib/ruby/gems/man/man[1-9] directories. * Add ${PREFIX}/lib/ruby/gems/man to man path. each rubygem ports: * Set GEM_MANPAGE_SEC[1-9] if they install man page. The value is list of p= ath (relative to ${PREFIX}) to each man pages. Mk/User/gem.mk: * If GEM_MANPAGE_SEC[1-9] is not empty, create symbolic links from ${PREFIX}/lib/ruby/gems/man/man[1-9] to each man pages at staging phase. devel/rubygem-irb: * Install ${PREFIX}/bin/irb. * Install irb(1) man mage. * Set GEM_MANPAGE_SEC1. devel/rubygem-rdoc: * Install ${PREFIX}/bin/{rdoc,ri}. * Install ri(1) man page. * Set GEM_MANPAGE_SEC1. sysutils/rubygem-bundler: * Install man pages. * Set GEM_MANPAGE_SEC1 and GEM_MANPAGE_SEC5. The background of my proposal is: 1. As is written in comment #9, adding directories where man pages of each rubygem ports are installed to man path doesn't work as is expected. So symbolic links have to be created anyway. 2. Maybe making man directories for rubygem and creating symbolic links und= er them is better than creating them under ${PREFIX}/man/man[1-9]. 3. Only each rubygem port knows where man pages are installed. So tell it by setting GEM_MANPAGE_SEC[1-9]. And gem.mk do the task of creating symbolic links. Any suggestions and/or comments are welcome. --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-241554-21402-QKgtxNR8PX>