From 0036d31b96318461331f87d342333aee9a94a331 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sat, 9 Nov 2019 14:54:02 +0000 Subject: [PATCH] dev-lang/mmix: use shorter 'dodoc' form Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Sergei Trofimovich --- dev-lang/mmix/mmix-20160804-r1.ebuild | 5 +---- dev-lang/mmix/mmix-20160804.ebuild | 9 +++------ 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/dev-lang/mmix/mmix-20160804-r1.ebuild b/dev-lang/mmix/mmix-20160804-r1.ebuild index 3d8f806d1bb8..65491269b4a1 100644 --- a/dev-lang/mmix/mmix-20160804-r1.ebuild +++ b/dev-lang/mmix/mmix-20160804-r1.ebuild @@ -41,8 +41,5 @@ src_install() { dobin ${PN} ${PN}al m${PN} mmotype abstime dodoc README ${PN}.1 - if use doc ; then - insinto /usr/share/doc/${PF} - doins *.ps - fi + use doc && dodoc *.ps } diff --git a/dev-lang/mmix/mmix-20160804.ebuild b/dev-lang/mmix/mmix-20160804.ebuild index ec72856d158d..95967668d8d0 100644 --- a/dev-lang/mmix/mmix-20160804.ebuild +++ b/dev-lang/mmix/mmix-20160804.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -36,12 +36,9 @@ src_compile() { fi } -src_install () { +src_install() { dobin ${PN} ${PN}al m${PN} mmotype abstime dodoc README ${PN}.1 - if use doc ; then - insinto /usr/share/doc/${PF} - doins *.ps - fi + use doc && dodoc *.ps } -- 2.26.2