summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2013-05-23 14:15:25 +0000
committerAkinori Hattori <hattya@gentoo.org>2013-05-23 14:15:25 +0000
commitb7311584011c1a3bffe4fdfbe5d7a0126c31f7b3 (patch)
treed199658535b4dfd8825729297f6a899d6d33f71f /media-fonts/mplus-outline-fonts/mplus-outline-fonts-0_pre055.ebuild
parentrequire static-libs from virtual/udev so that rdeps of lvm[static-libs] will ... (diff)
downloadhistorical-b7311584011c1a3bffe4fdfbe5d7a0126c31f7b3.tar.gz
historical-b7311584011c1a3bffe4fdfbe5d7a0126c31f7b3.tar.bz2
historical-b7311584011c1a3bffe4fdfbe5d7a0126c31f7b3.zip
new upstream release
Package-Manager: portage-2.1.11.62/cvs/Linux x86_64 Manifest-Sign-Key: 0xEC917A6D
Diffstat (limited to 'media-fonts/mplus-outline-fonts/mplus-outline-fonts-0_pre055.ebuild')
-rw-r--r--media-fonts/mplus-outline-fonts/mplus-outline-fonts-0_pre055.ebuild46
1 files changed, 46 insertions, 0 deletions
diff --git a/media-fonts/mplus-outline-fonts/mplus-outline-fonts-0_pre055.ebuild b/media-fonts/mplus-outline-fonts/mplus-outline-fonts-0_pre055.ebuild
new file mode 100644
index 000000000000..b9a3db2bc0fb
--- /dev/null
+++ b/media-fonts/mplus-outline-fonts/mplus-outline-fonts-0_pre055.ebuild
@@ -0,0 +1,46 @@
+# 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_pre055.ebuild,v 1.1 2013/05/23 14:15:22 hattya Exp $
+
+EAPI="4"
+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"
+
+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="${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 || die
+ fi
+}