sci-libs/cdf: Do not glob on DISTDIR
authorDavid Seifert <soap@gentoo.org>
Sun, 19 Mar 2017 09:17:41 +0000 (10:17 +0100)
committerDavid Seifert <soap@gentoo.org>
Sun, 19 Mar 2017 09:18:02 +0000 (10:18 +0100)
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
sci-libs/cdf/cdf-3.5.0.2.ebuild

index cd317db95afda907501b0913ed01d01c0959a16e..55a3ace7b646d0f5f5252b0c64a1512d887e4114 100644 (file)
@@ -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
index 738d5894116f179bed742bdf79dcf59661fef0ed..9956ff0e3fa82c85fe43e9760fc85901690f996c 100644 (file)
@@ -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