commit:     6f734b5357be1603c21ca9a98e5b5764d54ba4b6
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Feb  9 13:12:46 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Feb  9 13:12:46 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f734b53

dev-util/cccc: [QA] Fix DeprecatedInsinto

Package-Manager: Portage-2.3.88, Repoman-2.3.20
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 dev-util/cccc/cccc-3.1.5-r1.ebuild | 19 ++++++++-----------
 1 file changed, 8 insertions(+), 11 deletions(-)

diff --git a/dev-util/cccc/cccc-3.1.5-r1.ebuild 
b/dev-util/cccc/cccc-3.1.5-r1.ebuild
index 856607a6df2..47a91aadc54 100644
--- a/dev-util/cccc/cccc-3.1.5-r1.ebuild
+++ b/dev-util/cccc/cccc-3.1.5-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -52,19 +52,16 @@ src_install() {
 
        dodoc README.md
 
-       if use mfc ; then
-               insinto /usr/share/doc/${PF}
-               doins "${FILESDIR}"/cccc-MFC-dialect.opt
-       fi
+       use mfc && dodoc "${FILESDIR}"/cccc-MFC-dialect.opt
 
        if use doc ; then
-               insinto /usr/share/doc/${PF}/html
-               doins cccc/*.html
+               docinto html
+               dodoc cccc/*.html
                if use apidoc ; then
-                       insinto /usr/share/doc/${PF}/html/api
-                       doins -r doxygen/html/*
-                       insinto /usr/share/doc/${PF}/html/metrics
-                       doins ccccout/*
+                       docinto html/api
+                       dodoc -r doxygen/html/.
+                       docinto html/metrics
+                       dodoc -r ccccout/.
                fi
        fi
 }

Reply via email to