summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-libs/cdf/cdf-3.4.1.ebuild7
-rw-r--r--sci-libs/cdf/cdf-3.5.0.2.ebuild7
2 files changed, 6 insertions, 8 deletions
diff --git a/sci-libs/cdf/cdf-3.4.1.ebuild b/sci-libs/cdf/cdf-3.4.1.ebuild
index cd317db95afd..55a3ace7b646 100644
--- a/sci-libs/cdf/cdf-3.4.1.ebuild
+++ b/sci-libs/cdf/cdf-3.4.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -99,9 +99,8 @@ src_install() {
doenvd "${FILESDIR}"/50cdf
if use doc; then
- insinto /usr/share/doc/${PF}
- doins "${DISTDIR}"/${MY_DP}*.pdf
- use java || rm "${D}"/usr/share/doc/${PF}/${MY_P}jrm.pdf
+ dodoc "${DISTDIR}"/${MY_DP}{crm,frm,ifd,prm,ug}.pdf
+ use java && dodoc "${DISTDIR}"/${MY_DP}jrm.pdf
fi
if use examples; then
diff --git a/sci-libs/cdf/cdf-3.5.0.2.ebuild b/sci-libs/cdf/cdf-3.5.0.2.ebuild
index 738d5894116f..9956ff0e3fa8 100644
--- a/sci-libs/cdf/cdf-3.5.0.2.ebuild
+++ b/sci-libs/cdf/cdf-3.5.0.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -99,9 +99,8 @@ src_install() {
doenvd "${FILESDIR}"/50cdf
if use doc; then
- insinto /usr/share/doc/${PF}
- doins "${DISTDIR}"/${MY_DP}*.pdf
- use java || rm "${D}"/usr/share/doc/${PF}/${MY_P}jrm.pdf
+ dodoc "${DISTDIR}"/${MY_DP}{0{crm,frm,prm,ug},ifd}.pdf
+ use java && dodoc "${DISTDIR}"/${MY_DP}jrm.pdf
fi
if use examples; then