summaryrefslogtreecommitdiff
blob: ca5ae8809c4bc6a0d7be1cedac863faaea908dc3 (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-fonts/zh-kcfonts/zh-kcfonts-1.05-r1.ebuild,v 1.5 2004/09/29 07:06:10 usata Exp $

KCFONTS="${P}.tgz"

DESCRIPTION="Kuo Chauo Chinese Fonts collection in BIG5 encoding"
SRC_URI="ftp://ftp.freebsd.org.tw/pub/releases/i386/4.9-RELEASE/packages/x11-fonts/${P}.tgz"
HOMEPAGE=""	#No homepage exists that I am aware of or able to find

LICENSE="freedist"
SLOT="0"
KEYWORDS="x86 ppc ~amd64 alpha"
IUSE=""

DEPEND="virtual/x11"
S=${WORKDIR}
FONTPATH=/usr/share/fonts/${PN}

src_install() {
	insinto ${FONTPATH}
	doins lib/X11/fonts/local/*gz || die
	sort lib/X11/fonts/local/kc_fonts.alias | uniq > ${T}/fonts.alias
	doins ${T}/fonts.alias || die
	mkfontdir ${D}/${FONTPATH}
}