You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
711 B
36 lines
711 B
# Copyright 1999-2011 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Id$
|
|
|
|
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"
|
|
|
|
DEPEND="app-arch/unzip"
|
|
RDEPEND=""
|
|
|
|
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/* .
|
|
}
|