media-fonts/kochi-substitute: Port to EAPI 7
authorDavid Seifert <soap@gentoo.org>
Sat, 19 Oct 2019 16:44:40 +0000 (18:44 +0200)
committerDavid Seifert <soap@gentoo.org>
Sat, 19 Oct 2019 16:44:40 +0000 (18:44 +0200)
Bug: https://bugs.gentoo.org/697292
Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: David Seifert <soap@gentoo.org>
media-fonts/kochi-substitute/kochi-substitute-20030809-r3.ebuild

index e17e46617c7e1cfed17145c201d521d66871e944..355417cf972b512b60016f4575454ad42d566836 100644 (file)
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=0
+EAPI=7
 
 inherit font
 
@@ -12,24 +12,15 @@ SRC_URI="mirror://sourceforge.jp/efont/5411/${P}.tar.bz2"
 LICENSE="free-noncomm"
 SLOT="0"
 KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
-IUSE=""
+# Only installs fonts
+RESTRICT="strip binchecks"
 
-S=${WORKDIR}/${PN}-${PV:0:8}
+S="${WORKDIR}/${PN}-${PV:0:8}"
 
+DOCS="README.ja Changelog"
 FONT_SUFFIX="ttf"
 
-DOCS="README.ja Changelog docs/README"
-
-# Only installs fonts
-RESTRICT="strip binchecks"
-
 src_install() {
        font_src_install
-
-       cd docs
-       local d
-       for d in kappa20 k14goth ayu20gothic wadalab shinonome* naga10; do
-               docinto $d
-               dodoc $d/*
-       done
+       dodoc -r docs/{README,kappa20,k14goth,ayu20gothic,wadalab,shinonome*,naga10}
 }