commit:     5ef6f433aa4056e478f0768036da8995b9f7cfe7
Author:     Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  1 09:13:59 2020 +0000
Commit:     Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Sat Feb  1 09:13:59 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ef6f433

sci-mathematics/ginac: ebuild improvements

Package-Manager: Portage-2.3.86, Repoman-2.3.20
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>

 sci-mathematics/ginac/ginac-1.7.8.ebuild | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/sci-mathematics/ginac/ginac-1.7.8.ebuild 
b/sci-mathematics/ginac/ginac-1.7.8.ebuild
index 05317f9ecc2..b8985e5df43 100644
--- a/sci-mathematics/ginac/ginac-1.7.8.ebuild
+++ b/sci-mathematics/ginac/ginac-1.7.8.ebuild
@@ -53,15 +53,14 @@ src_install() {
        default
        if use doc; then
                pushd doc > /dev/null || die "pushd doc failed"
-               insinto /usr/share/doc/${PF}
-               newins tutorial/ginac.pdf tutorial.pdf
-               newins reference/reference.pdf reference.pdf
-               insinto /usr/share/doc/${PF}/html/reference
-               doins -r reference/html_files/*
-               insinto /usr/share/doc/${PF}/html
-               newins tutorial/ginac.html tutorial.html
-               insinto /usr/share/doc/${PF}/examples
-               doins "${S}"/doc/examples/*.cpp examples/ginac-examples.*
+               newdoc tutorial/ginac.pdf tutorial.pdf
+               newdoc reference/reference.pdf reference.pdf
+               docinto html/reference
+               dodoc -r reference/html_files/.
+               docinto html
+               newdoc tutorial/ginac.html tutorial.html
+               docinto examples
+               dodoc "${S}"/doc/examples/*.cpp examples/ginac-examples.*
                popd > /dev/null
        fi
 }

Reply via email to