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
commit682efa3c48fd600979a9d3d398e3d7adb27a2189 (patch)
treead5b975997efcf16d20fb3487679826f9d9be2b6 /media-fonts/nanumfont/nanumfont-2.0-r1.ebuild
parentRevoking ~amd64 from 10.1.53.64 due to major browser issues, and increasing w... (diff)
downloadhistorical-682efa3c48fd600979a9d3d398e3d7adb27a2189.tar.gz
historical-682efa3c48fd600979a9d3d398e3d7adb27a2189.tar.bz2
historical-682efa3c48fd600979a9d3d398e3d7adb27a2189.zip
Added hack to avoid installation of files in cp949 encoding, bug 322041, thank Alexander Bezrukov for report.
Package-Manager: portage-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/* .
+}