From owner-freebsd-ruby@freebsd.org Fri Nov 22 03:32:43 2019 Return-Path: Delivered-To: freebsd-ruby@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 64D481AB0D8 for ; Fri, 22 Nov 2019 03:32:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 47K27H26LHz4HS5 for ; Fri, 22 Nov 2019 03:32:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 487151AB0D7; Fri, 22 Nov 2019 03:32:43 +0000 (UTC) Delivered-To: ruby@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4839D1AB0D6 for ; Fri, 22 Nov 2019 03:32:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47K27H1GCPz4HS4 for ; Fri, 22 Nov 2019 03:32:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0FE1E1DA4C for ; Fri, 22 Nov 2019 03:32:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id xAM3Wg3r030603 for ; Fri, 22 Nov 2019 03:32:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xAM3WgXY030572 for ruby@FreeBSD.org; Fri, 22 Nov 2019 03:32:42 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f 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 Date: Fri, 22 Nov 2019 03:32:42 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: yasu@utahime.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? exp-run? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Nov 2019 03:32:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241554 --- Comment #11 from Yasuhiro KIMURA --- 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.=