diff options
-rw-r--r-- | media-fonts/mplus-outline-fonts/ChangeLog | 8 | ||||
-rw-r--r-- | media-fonts/mplus-outline-fonts/mplus-outline-fonts-0_pre057.ebuild | 44 |
2 files changed, 51 insertions, 1 deletions
diff --git a/media-fonts/mplus-outline-fonts/ChangeLog b/media-fonts/mplus-outline-fonts/ChangeLog index e2f3956af69f..447a768715aa 100644 --- a/media-fonts/mplus-outline-fonts/ChangeLog +++ b/media-fonts/mplus-outline-fonts/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-fonts/mplus-outline-fonts # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-fonts/mplus-outline-fonts/ChangeLog,v 1.50 2013/08/10 12:55:08 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-fonts/mplus-outline-fonts/ChangeLog,v 1.51 2013/10/24 14:09:32 hattya Exp $ + +*mplus-outline-fonts-0_pre057 (24 Oct 2013) + + 24 Oct 2013; Akinori Hattori <hattya@gentoo.org> + +mplus-outline-fonts-0_pre057.ebuild: + new upstream release 10 Aug 2013; Agostino Sarubbo <ago@gentoo.org> mplus-outline-fonts-0_pre055.ebuild: diff --git a/media-fonts/mplus-outline-fonts/mplus-outline-fonts-0_pre057.ebuild b/media-fonts/mplus-outline-fonts/mplus-outline-fonts-0_pre057.ebuild new file mode 100644 index 000000000000..a929db91a3d1 --- /dev/null +++ b/media-fonts/mplus-outline-fonts/mplus-outline-fonts-0_pre057.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-fonts/mplus-outline-fonts/mplus-outline-fonts-0_pre057.ebuild,v 1.1 2013/10/24 14:09:32 hattya Exp $ + +EAPI="5" + +inherit font + +MY_P="mplus-${PV/0_pre/TESTFLIGHT-}" +DESCRIPTION="M+ Japanese outline fonts" +HOMEPAGE="http://mplus-fonts.sourceforge.jp/ http://ossipedia.ipa.go.jp/ipafont/" +SRC_URI="mirror://sourceforge.jp/mplus-fonts/6650/${MY_P}.tar.xz" + +LICENSE="mplus-fonts ipafont? ( IPAfont )" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~x86 ~ppc-macos ~x86-macos" +IUSE="ipafont" +RESTRICT="binchecks strip" + +DEPEND="ipafont? ( + media-gfx/fontforge + media-fonts/ja-ipafonts + )" +RDEPEND="" +S="${WORKDIR}/${MY_P}" + +FONT_SUFFIX="ttf" +FONT_S="${S}" +DOCS="README_J README_E" + +IPAFONT_DIR="${EPREFIX}/usr/share/fonts/ja-ipafonts" + +src_prepare() { + if use ipafont ; then + cp -p "${IPAFONT_DIR}/ipag.ttf" "${S}" || die + fi +} + +src_compile() { + if use ipafont ; then + fontforge -script m++ipa.pe || die + rm -f ipag.ttf + fi +} |