commit:     660c42c58598e9e049bc3358f194e3c302e8775d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 17 12:18:43 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Oct 17 12:18:48 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=660c42c5

dev-ml/ocamlgraph: DeprecatedInsinto

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-ml/ocamlgraph/ocamlgraph-1.8.7-r1.ebuild | 13 +++++++------
 dev-ml/ocamlgraph/ocamlgraph-1.8.8-r1.ebuild | 11 ++++++-----
 2 files changed, 13 insertions(+), 11 deletions(-)

diff --git a/dev-ml/ocamlgraph/ocamlgraph-1.8.7-r1.ebuild 
b/dev-ml/ocamlgraph/ocamlgraph-1.8.7-r1.ebuild
index 7b7df7eac4c..41454fc2208 100644
--- a/dev-ml/ocamlgraph/ocamlgraph-1.8.7-r1.ebuild
+++ b/dev-ml/ocamlgraph/ocamlgraph-1.8.7-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=5
 
-inherit findlib eutils
+inherit eutils findlib
 
 DESCRIPTION="O'Caml Graph library"
 HOMEPAGE="http://ocamlgraph.lri.fr/index.en.html";
@@ -50,13 +50,14 @@ src_install() {
        fi
 
        dodoc README.adoc CREDITS FAQ CHANGES
-       if use doc; then
-               dohtml doc/*
-       fi
 
        if use examples; then
-               insinto /usr/share/doc/${PF}
-               doins -r examples
+               dodoc -r examples
                docompress -x /usr/share/doc/${PF}/examples
        fi
+
+       if use doc; then
+               docinto html
+               dodoc doc/*
+       fi
 }

diff --git a/dev-ml/ocamlgraph/ocamlgraph-1.8.8-r1.ebuild 
b/dev-ml/ocamlgraph/ocamlgraph-1.8.8-r1.ebuild
index 9c4e5391fc6..df67c7f57f1 100644
--- a/dev-ml/ocamlgraph/ocamlgraph-1.8.8-r1.ebuild
+++ b/dev-ml/ocamlgraph/ocamlgraph-1.8.8-r1.ebuild
@@ -45,13 +45,14 @@ src_install() {
        fi
 
        dodoc README.adoc CREDITS FAQ CHANGES
-       if use doc; then
-               dohtml doc/*
-       fi
 
        if use examples; then
-               insinto /usr/share/doc/${PF}
-               doins -r examples
+               dodoc -r examples
                docompress -x /usr/share/doc/${PF}/examples
        fi
+
+       if use doc; then
+               docinto html
+               dodoc doc/*
+       fi
 }

Reply via email to