From 6f734b5357be1603c21ca9a98e5b5764d54ba4b6 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sun, 9 Feb 2020 14:12:46 +0100 Subject: dev-util/cccc: [QA] Fix DeprecatedInsinto Package-Manager: Portage-2.3.88, Repoman-2.3.20 Signed-off-by: David Seifert --- dev-util/cccc/cccc-3.1.5-r1.ebuild | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) (limited to 'dev-util/cccc') diff --git a/dev-util/cccc/cccc-3.1.5-r1.ebuild b/dev-util/cccc/cccc-3.1.5-r1.ebuild index 856607a6df29..47a91aadc54e 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 } -- cgit v1.2.3-65-gdbad