summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-03-19 10:17:41 +0100
committerDavid Seifert <soap@gentoo.org>2017-03-19 10:18:02 +0100
commit49c6b2321b7a49b57ad961628f2d4f2d236e38fc (patch)
treea46e4ec0b853c0ba1ed7e082752f2a334e8038eb /sci-libs
parentdev-lang/rust-bin: version bump to 1.16.0 (diff)
downloadgentoo-49c6b2321b7a49b57ad961628f2d4f2d236e38fc.tar.gz
gentoo-49c6b2321b7a49b57ad961628f2d4f2d236e38fc.tar.bz2
gentoo-49c6b2321b7a49b57ad961628f2d4f2d236e38fc.zip
sci-libs/cdf: Do not glob on DISTDIR
Bug: https://bugs.gentoo.org/show_bug.cgi?id=613004 Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'sci-libs')
-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