commit:     bd1da1555f1f7388e84fb7e265b70b0bc579d6d3
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  7 21:45:41 2021 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sun Mar  7 22:17:25 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd1da155

sci-mathematics/topcom: new revision to fixup examples install.

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 .../topcom/{topcom-0.17.8.ebuild => topcom-0.17.8-r1.ebuild}         | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/sci-mathematics/topcom/topcom-0.17.8.ebuild 
b/sci-mathematics/topcom/topcom-0.17.8-r1.ebuild
similarity index 92%
rename from sci-mathematics/topcom/topcom-0.17.8.ebuild
rename to sci-mathematics/topcom/topcom-0.17.8-r1.ebuild
index e6627c5cd43..a3496c642f6 100644
--- a/sci-mathematics/topcom/topcom-0.17.8.ebuild
+++ b/sci-mathematics/topcom/topcom-0.17.8-r1.ebuild
@@ -45,7 +45,10 @@ src_configure() {
 src_install () {
        default
 
-       use examples && docompress -x "/usr/share/doc/${PF}/examples"
+       if use examples; then
+               docompress -x "/usr/share/doc/${PF}/examples"
+               dodoc -r examples
+       fi
        use doc && einstalldocs
 
        mv "${ED}/usr/bin/cube" "${ED}/usr/bin/topcom_cube" || die

Reply via email to