summaryrefslogtreecommitdiff
blob: 715a553fd0aaf1a50895bad5ebf96be5d278d8d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6
FONT_PN=mplus

inherit font

MY_P="mplus_bitmap_fonts-${PV}"

DESCRIPTION="M+ Japanese bitmap fonts"
HOMEPAGE="http://mplus-fonts.sourceforge.jp/"
SRC_URI="mirror://sourceforge.jp/${PN}/5030/${MY_P}.tar.gz"

LICENSE="mplus-fonts"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
IUSE="X"

DEPEND="x11-apps/mkfontdir
	x11-apps/bdftopcf"
RDEPEND=""

S="${WORKDIR}/${MY_P}"

# Only installs fonts
RESTRICT="strip binchecks"

src_install(){
	DESTDIR="${D}${FONTDIR}" ./install_mplus_fonts || die
	dodoc README* INSTALL*
}