dev-util/cccc: [QA] Fix DeprecatedInsinto
authorDavid Seifert <soap@gentoo.org>
Sun, 9 Feb 2020 13:12:46 +0000 (14:12 +0100)
committerDavid Seifert <soap@gentoo.org>
Sun, 9 Feb 2020 13:12:46 +0000 (14:12 +0100)
Package-Manager: Portage-2.3.88, Repoman-2.3.20
Signed-off-by: David Seifert <soap@gentoo.org>
dev-util/cccc/cccc-3.1.5-r1.ebuild

index 856607a6df2905639ca1e435888c695696c1010d..47a91aadc54ea7297a123256b0709f5136835e7d 100644 (file)
@@ -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
 }