summaryrefslogtreecommitdiff
blob: efadc990cee5cd474f2dbfafebdf7aa24bd6e71d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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/* .
}