diff options
-rw-r--r-- | media-fonts/mplus-outline-fonts/ChangeLog | 10 | ||||
-rw-r--r-- | media-fonts/mplus-outline-fonts/mplus-outline-fonts-0_pre037.ebuild | 46 |
2 files changed, 54 insertions, 2 deletions
diff --git a/media-fonts/mplus-outline-fonts/ChangeLog b/media-fonts/mplus-outline-fonts/ChangeLog index 43c3ec49d0f8..0b2314ceb3f8 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-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-fonts/mplus-outline-fonts/ChangeLog,v 1.29 2010/12/29 13:50:28 matsuu Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-fonts/mplus-outline-fonts/ChangeLog,v 1.30 2011/03/30 14:05:05 matsuu Exp $ + +*mplus-outline-fonts-0_pre037 (30 Mar 2011) + + 30 Mar 2011; MATSUU Takuto <matsuu@gentoo.org> + +mplus-outline-fonts-0_pre037.ebuild: + Version bumped. *mplus-outline-fonts-0_pre035 (29 Dec 2010) diff --git a/media-fonts/mplus-outline-fonts/mplus-outline-fonts-0_pre037.ebuild b/media-fonts/mplus-outline-fonts/mplus-outline-fonts-0_pre037.ebuild new file mode 100644 index 000000000000..af6ef14e4b22 --- /dev/null +++ b/media-fonts/mplus-outline-fonts/mplus-outline-fonts-0_pre037.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2011 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_pre037.ebuild,v 1.1 2011/03/30 14:05:05 matsuu Exp $ + +EAPI="2" +inherit font + +MY_P="mplus-${PV/0_pre/TESTFLIGHT-}" +DESCRIPTION="M+ Japanese outline fonts with IPA font" +HOMEPAGE="http://mplus-fonts.sourceforge.jp/ https://sourceforge.jp/projects/opfc/" +SRC_URI="mirror://sourceforge.jp/mplus-fonts/6650/${MY_P}.tar.gz" + +LICENSE="mplus-fonts IPAfont" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~x86" +IUSE="ipafont" + +DEPEND="ipafont? ( + media-gfx/fontforge + >=media-fonts/ja-ipafonts-003.02 + )" +RDEPEND="" + +S="${WORKDIR}/${MY_P}" + +FONT_SUFFIX="ttf" +FONT_S="${S}" + +DOCS="README_J README_E" + +RESTRICT="strip binchecks" + +IPAFONT_DIR="/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 || die + fi +} |