1 |
commit: 361e0e69e74ccaf89ad0f1462e9aac5fa783d2ad |
2 |
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 24 14:23:34 2021 +0000 |
4 |
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 24 14:25:48 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=361e0e69 |
7 |
|
8 |
media-fonts/mplus-fonts: tidy |
9 |
|
10 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
11 |
Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org> |
12 |
|
13 |
.../mplus-fonts/mplus-fonts-2.2.4-r1.ebuild | 25 ++++++++++------------ |
14 |
1 file changed, 11 insertions(+), 14 deletions(-) |
15 |
|
16 |
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 |
17 |
index 7df74fe1160e..09a9326afaa8 100644 |
18 |
--- a/media-fonts/mplus-fonts/mplus-fonts-2.2.4-r1.ebuild |
19 |
+++ b/media-fonts/mplus-fonts/mplus-fonts-2.2.4-r1.ebuild |
20 |
@@ -1,31 +1,28 @@ |
21 |
# Copyright 1999-2021 Gentoo Authors |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
-EAPI=7 |
25 |
+EAPI="7" |
26 |
+FONT_PN=${PN%-*} |
27 |
|
28 |
-FONT_PN=mplus |
29 |
-MY_P="mplus_bitmap_fonts-${PV}" |
30 |
inherit font |
31 |
|
32 |
+MY_P="${P/-/_bitmap_}" |
33 |
+ |
34 |
DESCRIPTION="M+ Japanese bitmap fonts" |
35 |
HOMEPAGE="https://mplus-fonts.osdn.jp/about-en.html" |
36 |
SRC_URI="mirror://sourceforge.jp/${PN}/5030/${MY_P}.tar.gz" |
37 |
-S="${WORKDIR}/${MY_P}" |
38 |
|
39 |
LICENSE="mplus-fonts" |
40 |
SLOT="0" |
41 |
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86" |
42 |
-IUSE="X" |
43 |
+IUSE="" |
44 |
+RESTRICT="binchecks strip" |
45 |
|
46 |
-# Only installs fonts |
47 |
-RESTRICT="strip binchecks" |
48 |
- |
49 |
-BDEPEND=" |
50 |
- x11-apps/bdftopcf |
51 |
- >=x11-apps/mkfontscale-1.2.0 |
52 |
-" |
53 |
+BDEPEND="x11-apps/bdftopcf |
54 |
+ x11-apps/mkfontscale" |
55 |
+S="${WORKDIR}/${MY_P}" |
56 |
|
57 |
src_install() { |
58 |
- DESTDIR="${D}${FONTDIR}" ./install_mplus_fonts || die |
59 |
- dodoc README* INSTALL* |
60 |
+ DESTDIR="${ED}"${FONTDIR} ./install_${PN/-/_} || die |
61 |
+ einstalldocs |
62 |
} |