diff options
author | Naohiro Aota <naota@gentoo.org> | 2011-12-18 03:32:47 +0000 |
---|---|---|
committer | Naohiro Aota <naota@gentoo.org> | 2011-12-18 03:32:47 +0000 |
commit | db9d33a51d52522defe510ae2ad893c13df6be3a (patch) | |
tree | ea5bbf3f06c0ecca3d24754190796feeacb38ec6 /media-fonts/mplus-outline-fonts | |
parent | Use correct libgee slot. (diff) | |
download | gentoo-2-db9d33a51d52522defe510ae2ad893c13df6be3a.tar.gz gentoo-2-db9d33a51d52522defe510ae2ad893c13df6be3a.tar.bz2 gentoo-2-db9d33a51d52522defe510ae2ad893c13df6be3a.zip |
Improve DESCRIPTION, HOMEPAGE and LICENSE. patch by demmamussabebonk@gmail.com bug 393301
(Portage version: 2.2.0_alpha79/cvs/Linux x86_64)
Diffstat (limited to 'media-fonts/mplus-outline-fonts')
-rw-r--r-- | media-fonts/mplus-outline-fonts/ChangeLog | 9 | ||||
-rw-r--r-- | media-fonts/mplus-outline-fonts/mplus-outline-fonts-0_pre043-r1.ebuild | 46 |
2 files changed, 54 insertions, 1 deletions
diff --git a/media-fonts/mplus-outline-fonts/ChangeLog b/media-fonts/mplus-outline-fonts/ChangeLog index 3df51496f45e..588b4d529f8b 100644 --- a/media-fonts/mplus-outline-fonts/ChangeLog +++ b/media-fonts/mplus-outline-fonts/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-fonts/mplus-outline-fonts # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-fonts/mplus-outline-fonts/ChangeLog,v 1.34 2011/12/03 13:53:21 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-fonts/mplus-outline-fonts/ChangeLog,v 1.35 2011/12/18 03:32:47 naota Exp $ + +*mplus-outline-fonts-0_pre043-r1 (18 Dec 2011) + + 18 Dec 2011; Naohiro Aota <naota@gentoo.org> + +mplus-outline-fonts-0_pre043-r1.ebuild: + Improve DESCRIPTION, HOMEPAGE and LICENSE. patch by + demmamussabebonk@gmail.com bug 393301 03 Dec 2011; Fabian Groffen <grobian@gentoo.org> mplus-outline-fonts-0_pre043.ebuild: diff --git a/media-fonts/mplus-outline-fonts/mplus-outline-fonts-0_pre043-r1.ebuild b/media-fonts/mplus-outline-fonts/mplus-outline-fonts-0_pre043-r1.ebuild new file mode 100644 index 000000000000..2ae5d8aa7fe4 --- /dev/null +++ b/media-fonts/mplus-outline-fonts/mplus-outline-fonts-0_pre043-r1.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_pre043-r1.ebuild,v 1.1 2011/12/18 03:32:47 naota Exp $ + +EAPI="3" +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.gz" + +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 +} |