--- /dev/null
+DIST mplus-TESTFLIGHT-032.tar.gz 19154432 RMD160 6cb2c167505b8b9ba87ecc76913ddc19302c3514 SHA1 44bb7d08a3e4678ecacbe48f8a9de3942719d8e3 SHA256 50c2ea6666497e0e743924cd61a3a5a553df073057af8436b7d396387df8b6b9
+EBUILD mplus-outline-fonts-0_pre032.ebuild 1053 RMD160 51da909b5b932b57495bf0e1ed30ff6874766a52 SHA1 f73e7a40ed48f2b1ef3cea693030c5f8bf082291 SHA256 fe9d44811e62f9c57c6797b0c7c92ce3b1f8fcf7d94611eb6dbfd3326baa6131
--- /dev/null
+# Copyright 1999-2010 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_pre030-r1.ebuild,v 1.5 2010/07/20 16:24:28 jer 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
+}