summaryrefslogtreecommitdiff
blob: 993bd1e025e4793816ef5110b18602fef02329b1 (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-fonts/unfonts/unfonts-0.0.20040526.ebuild,v 1.2 2004/07/14 17:10:42 agriffis Exp $

inherit font

DESCRIPTION="Korean UnFonts"
HOMEPAGE="http://chem.skku.ac.kr/~wkpark/project/font/UnFonts"

UNFONTS="UnBatang.ttf
	UnBatangBold.ttf
	UnBom.ttf
	UnDotum.ttf
	UnDotumBold.ttf
	UnGraphic.ttf
	UnGungseo.ttf
	UnPen.ttf
	UnPenheulim.ttf
	UnPilgi.ttf
	UnPilgiBold.ttf
	UnShinmun.ttf
	UnYetgul.ttf"

SRC_URI="${UNFONTS//Un/${HOMEPAGE}/Un}"
LICENSE="GPL-2"

SLOT="0"
KEYWORDS="~x86 ~ppc ~alpha"
IUSE=""

FONT_SUFFIX="ttf"
FONT_S=${S}

src_unpack(){

	mkdir ${P}

	for X in ${UNFONTS};do

		if [ -f ${DISTDIR}/${X} ]
		then
			cp ${DISTDIR}/$X ${S} > /dev/null || die
		fi

	done

}