summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2021-11-24 23:23:34 +0900
committerAkinori Hattori <hattya@gentoo.org>2021-11-24 23:25:48 +0900
commit361e0e69e74ccaf89ad0f1462e9aac5fa783d2ad (patch)
tree41cbcfc56cdfab3631fce11d329b8042820a5a43 /media-fonts/mplus-fonts
parentdev-lang/php: Backport patch from upstream for ICU 70 changes (diff)
downloadgentoo-361e0e69e74ccaf89ad0f1462e9aac5fa783d2ad.tar.gz
gentoo-361e0e69e74ccaf89ad0f1462e9aac5fa783d2ad.tar.bz2
gentoo-361e0e69e74ccaf89ad0f1462e9aac5fa783d2ad.zip
media-fonts/mplus-fonts: tidy
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Akinori Hattori <hattya@gentoo.org>
Diffstat (limited to 'media-fonts/mplus-fonts')
-rw-r--r--media-fonts/mplus-fonts/mplus-fonts-2.2.4-r1.ebuild25
1 files changed, 11 insertions, 14 deletions
diff --git a/media-fonts/mplus-fonts/mplus-fonts-2.2.4-r1.ebuild b/media-fonts/mplus-fonts/mplus-fonts-2.2.4-r1.ebuild
index 7df74fe1160e..09a9326afaa8 100644
--- a/media-fonts/mplus-fonts/mplus-fonts-2.2.4-r1.ebuild
+++ b/media-fonts/mplus-fonts/mplus-fonts-2.2.4-r1.ebuild
@@ -1,31 +1,28 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI="7"
+FONT_PN=${PN%-*}
-FONT_PN=mplus
-MY_P="mplus_bitmap_fonts-${PV}"
inherit font
+MY_P="${P/-/_bitmap_}"
+
DESCRIPTION="M+ Japanese bitmap fonts"
HOMEPAGE="https://mplus-fonts.osdn.jp/about-en.html"
SRC_URI="mirror://sourceforge.jp/${PN}/5030/${MY_P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
LICENSE="mplus-fonts"
SLOT="0"
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86"
-IUSE="X"
+IUSE=""
+RESTRICT="binchecks strip"
-# Only installs fonts
-RESTRICT="strip binchecks"
-
-BDEPEND="
- x11-apps/bdftopcf
- >=x11-apps/mkfontscale-1.2.0
-"
+BDEPEND="x11-apps/bdftopcf
+ x11-apps/mkfontscale"
+S="${WORKDIR}/${MY_P}"
src_install() {
- DESTDIR="${D}${FONTDIR}" ./install_mplus_fonts || die
- dodoc README* INSTALL*
+ DESTDIR="${ED}"${FONTDIR} ./install_${PN/-/_} || die
+ einstalldocs
}