dev-lang/c-intercal: Replace doins by dodoc.
authorUlrich Müller <ulm@gentoo.org>
Sat, 7 Dec 2019 07:56:32 +0000 (08:56 +0100)
committerUlrich Müller <ulm@gentoo.org>
Sat, 7 Dec 2019 07:56:48 +0000 (08:56 +0100)
Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
dev-lang/c-intercal/c-intercal-30.0.ebuild
dev-lang/c-intercal/c-intercal-31.0.ebuild

index 52876eed00551658214659571e460f232593e087..26692e4f5704b88cca192b3cd73eb9d2ae20eb55 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -64,10 +64,7 @@ src_install() {
                elisp-site-file-install "${FILESDIR}/${SITEFILE}"
        fi
 
-       if use examples; then
-               insinto /usr/share/doc/${PF}
-               doins -r pit
-       fi
+       use examples && dodoc -r pit
 }
 
 pkg_postinst() {
index 53c680992b5b06dbb9cfbeeabd3ed8e0c714b9b0..d8304c53a3d30734ae0f15194f45e4de486192aa 100644 (file)
@@ -63,10 +63,7 @@ src_install() {
                elisp-site-file-install "${FILESDIR}/${SITEFILE}"
        fi
 
-       if use examples; then
-               insinto /usr/share/doc/${PF}
-               doins -r pit
-       fi
+       use examples && dodoc -r pit
 }
 
 pkg_postinst() {