summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2020-02-01 16:13:59 +0700
committerAndrey Grozin <grozin@gentoo.org>2020-02-01 16:13:59 +0700
commit5ef6f433aa4056e478f0768036da8995b9f7cfe7 (patch)
tree1058f25530af0c7bc54bea40b04d95244c2977ed /sci-mathematics/ginac
parentsci-libs/cln: ebuild improvements (diff)
downloadgentoo-5ef6f433aa4056e478f0768036da8995b9f7cfe7.tar.gz
gentoo-5ef6f433aa4056e478f0768036da8995b9f7cfe7.tar.bz2
gentoo-5ef6f433aa4056e478f0768036da8995b9f7cfe7.zip
sci-mathematics/ginac: ebuild improvements
Package-Manager: Portage-2.3.86, Repoman-2.3.20 Signed-off-by: Andrey Grozin <grozin@gentoo.org>
Diffstat (limited to 'sci-mathematics/ginac')
-rw-r--r--sci-mathematics/ginac/ginac-1.7.8.ebuild17
1 files 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 05317f9ecc2d..b8985e5df43e 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
}