summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2010-04-30 22:35:16 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2010-04-30 22:35:16 +0000
commit569876ac00339d2910d2ad73ed28f7787570ea6b (patch)
treebe4fae2531aa28a719ca4695cc71d27d7105509d /media-fonts
parentImprove EAPI2 handling by adding a src_prepare step. Improve description (diff)
downloadgentoo-2-569876ac00339d2910d2ad73ed28f7787570ea6b.tar.gz
gentoo-2-569876ac00339d2910d2ad73ed28f7787570ea6b.tar.bz2
gentoo-2-569876ac00339d2910d2ad73ed28f7787570ea6b.zip
Version bumped.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'media-fonts')
-rw-r--r--media-fonts/mplus-outline-fonts/ChangeLog8
-rw-r--r--media-fonts/mplus-outline-fonts/mplus-outline-fonts-0_pre030.ebuild46
2 files changed, 53 insertions, 1 deletions
diff --git a/media-fonts/mplus-outline-fonts/ChangeLog b/media-fonts/mplus-outline-fonts/ChangeLog
index 7bd9650fbaaf..9b2b3784b67a 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.20 2010/04/16 00:06:15 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/mplus-outline-fonts/ChangeLog,v 1.21 2010/04/30 22:35:16 matsuu Exp $
+
+*mplus-outline-fonts-0_pre030 (30 Apr 2010)
+
+ 30 Apr 2010; MATSUU Takuto <matsuu@gentoo.org>
+ +mplus-outline-fonts-0_pre030.ebuild:
+ Version bumped.
*mplus-outline-fonts-0_pre029 (16 Apr 2010)
diff --git a/media-fonts/mplus-outline-fonts/mplus-outline-fonts-0_pre030.ebuild b/media-fonts/mplus-outline-fonts/mplus-outline-fonts-0_pre030.ebuild
new file mode 100644
index 000000000000..3abab5c36a40
--- /dev/null
+++ b/media-fonts/mplus-outline-fonts/mplus-outline-fonts-0_pre030.ebuild
@@ -0,0 +1,46 @@
+# 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.ebuild,v 1.1 2010/04/30 22:35:16 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.01
+ )"
+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.otf" "${S}" || die
+ fi
+}
+
+src_compile() {
+ if use ipafont ; then
+ fontforge -script m++ipa.pe || die
+ rm -f ipag.otf || die
+ fi
+}