summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2010-06-11 20:16:52 +0000
committerPeter Volkov <pva@gentoo.org>2010-06-11 20:16:52 +0000
commite4d87010edc2d954f429f6c1403fac8e2aaa072d (patch)
treec8e5309cc63cb2cca4bace3485a09a3ef273e5e2 /media-fonts/nanumfont/nanumfont-2.0-r1.ebuild
parentRevoking ~amd64 from 10.1.53.64 due to major browser issues, and increasing w... (diff)
downloadgentoo-2-e4d87010edc2d954f429f6c1403fac8e2aaa072d.tar.gz
gentoo-2-e4d87010edc2d954f429f6c1403fac8e2aaa072d.tar.bz2
gentoo-2-e4d87010edc2d954f429f6c1403fac8e2aaa072d.zip
Added hack to avoid installation of files in cp949 encoding, bug 322041, thank Alexander Bezrukov for report.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'media-fonts/nanumfont/nanumfont-2.0-r1.ebuild')
-rw-r--r--media-fonts/nanumfont/nanumfont-2.0-r1.ebuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/media-fonts/nanumfont/nanumfont-2.0-r1.ebuild b/media-fonts/nanumfont/nanumfont-2.0-r1.ebuild
new file mode 100644
index 000000000000..efadc990cee5
--- /dev/null
+++ b/media-fonts/nanumfont/nanumfont-2.0-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/nanumfont/nanumfont-2.0-r1.ebuild,v 1.1 2010/06/11 20:16:52 pva Exp $
+
+EAPI=2
+inherit font
+
+MY_P="NanumGothicCoding-${PV}"
+DESCRIPTION="Korean monospace font distributed by NHN"
+HOMEPAGE="http://dev.naver.com/projects/nanumfont"
+SRC_URI="http://dev.naver.com/frs/download.php/441/${MY_P}.zip"
+
+LICENSE="OFL-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+# Only installs fonts
+RESTRICT="strip binchecks"
+
+S="${WORKDIR}"
+FONT_S="${S}"
+
+FONT_SUFFIX="ttf"
+
+src_prepare() {
+ # Rename names in cp949 encoding, bug #322041
+ mkdir recode || die
+ mv *-Bold.ttf recode/${PN}-Bold.ttf || die
+ mv *.ttf recode/${PN}.ttf || die
+ mv recode/* .
+}