summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2019-11-09 14:54:02 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2019-11-09 14:54:02 +0000
commit0036d31b96318461331f87d342333aee9a94a331 (patch)
tree70570eddbdfae789bad647e9b9b75f7169bfa890 /dev-lang/mmix
parentnet-mail/checkpassword: stable 0.90-r4 for sparc, bug #699638 (diff)
downloadgentoo-0036d31b96318461331f87d342333aee9a94a331.tar.gz
gentoo-0036d31b96318461331f87d342333aee9a94a331.tar.bz2
gentoo-0036d31b96318461331f87d342333aee9a94a331.zip
dev-lang/mmix: use shorter 'dodoc' form
Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-lang/mmix')
-rw-r--r--dev-lang/mmix/mmix-20160804-r1.ebuild5
-rw-r--r--dev-lang/mmix/mmix-20160804.ebuild9
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
}