You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-fonts/mix-mplus-ipa/mix-mplus-ipa-20120411_p2.e...

37 lines
1019 B

# Copyright 1999-2012 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/56155/migmix-1m-${MY_PV}.zip
mirror://sourceforge.jp/mix-mplus-ipa/56155/migmix-1p-${MY_PV}.zip
mirror://sourceforge.jp/mix-mplus-ipa/56155/migmix-2m-${MY_PV}.zip
mirror://sourceforge.jp/mix-mplus-ipa/56155/migmix-2p-${MY_PV}.zip
mirror://sourceforge.jp/mix-mplus-ipa/56156/migu-1p-${MY_PV}.zip
mirror://sourceforge.jp/mix-mplus-ipa/56156/migu-1c-${MY_PV}.zip
mirror://sourceforge.jp/mix-mplus-ipa/56156/migu-1m-${MY_PV}.zip
mirror://sourceforge.jp/mix-mplus-ipa/56156/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
}