summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}