media-fonts/fs-fonts: Port to EAPI 7
authorDavid Seifert <soap@gentoo.org>
Sat, 19 Oct 2019 20:11:23 +0000 (22:11 +0200)
committerDavid Seifert <soap@gentoo.org>
Sat, 19 Oct 2019 20:11:23 +0000 (22:11 +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/fs-fonts/fs-fonts-0.1_alpha3.ebuild

index afe49f5f2acce1f4c7d91d242fae08050fab1f35..b4847b5a6171077276f3f15dd92b1a5aa2003872 100644 (file)
@@ -1,35 +1,29 @@
-# 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
 
-IUSE=""
 MY_P="${P/_alpha/test}"
 
 DESCRIPTION="Japanese TrueType fonts designed for screen and print"
 HOMEPAGE="http://x-tt.sourceforge.jp/fs_fonts/"
 SRC_URI="mirror://sourceforge.jp/x-tt/7862/${MY_P}.tar.gz"
 
-KEYWORDS="alpha amd64 arm hppa ia64 ~ppc s390 sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
 LICENSE="public-domain"
-SLOT=0
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ~ppc s390 sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+# Only installs fonts
+RESTRICT="strip binchecks"
 
 S="${WORKDIR}"
+
+DOCS="AUTHORS *.txt THANKS Changes docs/README"
 FONT_S="${S}"
 FONT_SUFFIX="ttf"
-DOCS="AUTHORS *.txt THANKS Changes docs/README"
-
-# Only installs fonts
-RESTRICT="strip binchecks"
 
 src_install() {
        font_src_install
-
-       cd docs
-       for d in kappa20 k14goth mplus_bitmap_fonts shinonome* Oradano kochi-substitute; do
-               docinto $d
-               dodoc $d/*
-       done
+       dodoc -r docs/{kappa20,k14goth,mplus_bitmap_fonts,shinonome*,Oradano,kochi-substitute}
 }