commit:     97e76beca4790d981b978f506a9c81465713323f
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 13 00:17:26 2022 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Feb 13 21:07:32 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97e76bec

sci-libs/pgplot: fix DeprecatedInsinto

Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 sci-libs/pgplot/pgplot-5.2.2-r7.ebuild | 21 ++++++++++++---------
 1 file changed, 12 insertions(+), 9 deletions(-)

diff --git a/sci-libs/pgplot/pgplot-5.2.2-r7.ebuild 
b/sci-libs/pgplot/pgplot-5.2.2-r7.ebuild
index a48c4db5bb54..cd3605a71415 100644
--- a/sci-libs/pgplot/pgplot-5.2.2-r7.ebuild
+++ b/sci-libs/pgplot/pgplot-5.2.2-r7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -161,17 +161,20 @@ src_install() {
        if use doc; then
                dodoc cpg/cpgplot.doc applications/curvefit/curvefit.doc 
pgplot.html
                dodoc pgplot-routines.pdf pgplot-routines.tex
-               insinto /usr/share/doc/${PF}/examples
-               doins  examples/* cpg/cpgdemo.c
-               insinto /usr/share/doc/${PF}/applications
-               doins -r applications/*
+               docinto examples
+               dodoc -r examples/. cpg/cpgdemo.c
+               docompress -x /usr/share/doc/${PF}/examples
+               dodoc -r applications
+               docompress -x /usr/share/doc/${PF}/applications
                if use motif; then
-                       insinto /usr/share/doc/${PF}/pgm
-                       doins pgmf/* drivers/xmotif/pgmdemo.c
+                       docinto pgm
+                       dodoc -r pgmf/. drivers/xmotif/pgmdemo.c
+                       docompress -x /usr/share/doc/${PF}/pgm
                fi
                if use tk; then
-                       insinto /usr/share/doc/${PF}/pgtk
-                       doins drivers/xtk/pgtkdemo.*
+                       docinto pgtk
+                       dodoc drivers/xtk/pgtkdemo.*
+                       docompress -x /usr/share/doc/${PF}/pgtk
                fi
        fi
 }

Reply via email to