summaryrefslogtreecommitdiff
blob: c9c52dcc7076fe6c36c14a7819610454036b7754 (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
33
34
35
36
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI="4"
inherit font

MY_PV="${PV/_p/-}"

DESCRIPTION="Mixing mplus and IPA fonts"
HOMEPAGE="http://mix-mplus-ipa.sourceforge.jp/"
SRC_URI="mirror://sourceforge.jp/mix-mplus-ipa/59021/migmix-1m-${MY_PV}.zip
	mirror://sourceforge.jp/mix-mplus-ipa/59021/migmix-1p-${MY_PV}.zip
	mirror://sourceforge.jp/mix-mplus-ipa/59021/migmix-2m-${MY_PV}.zip
	mirror://sourceforge.jp/mix-mplus-ipa/59021/migmix-2p-${MY_PV}.zip
	mirror://sourceforge.jp/mix-mplus-ipa/59022/migu-1p-${MY_PV}.zip
	mirror://sourceforge.jp/mix-mplus-ipa/59022/migu-1c-${MY_PV}.zip
	mirror://sourceforge.jp/mix-mplus-ipa/59022/migu-1m-${MY_PV}.zip
	mirror://sourceforge.jp/mix-mplus-ipa/59022/migu-2m-${MY_PV}.zip"

LICENSE="mplus-fonts IPAfont"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~x86-fbsd"
IUSE=""

S="${WORKDIR}"

FONT_SUFFIX="ttf"
FONT_S="${S}"

DEPEND="app-arch/unzip"
RDEPEND=""

src_prepare() {
	mv */*.${FONT_SUFFIX} "${FONT_S}" || die
}