summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/cdf/cdf-3.5.0.2.ebuild')
-rw-r--r--sci-libs/cdf/cdf-3.5.0.2.ebuild7
1 files changed, 3 insertions, 4 deletions
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