commit:     49c6b2321b7a49b57ad961628f2d4f2d236e38fc
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 19 09:17:41 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Mar 19 09:18:02 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49c6b232

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

 sci-libs/cdf/cdf-3.4.1.ebuild   | 7 +++----
 sci-libs/cdf/cdf-3.5.0.2.ebuild | 7 +++----
 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 cd317db95af..55a3ace7b64 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 738d5894116..9956ff0e3fa 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

Reply via email to