blob: 7ccc57e206854399ac012c135cda4abe63357972 (
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
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/zh-kcfonts/zh-kcfonts-1.05.ebuild,v 1.1 2002/10/23 14:39:23 stubear Exp $
DESCRIPTION="Kuo Chauo Chinese Fonts collection in BIG5 encoding."
KCFONTS="zh-kcfonts-1.05.tgz"
SRC_URI="ftp://ftp.freebsd.org.tw/pub/i386/4.6.2-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"
DEPEND="x11-base/xfree"
RDEPEND="${DEPEND}"
S=${WORKDIR}/${PN}
CFONTDIR=/usr/X11R6/lib/X11/fonts/misc/
src_unpack () {
mkdir ${S}
cd ${S}
unpack ${A}
}
src_install () {
dodir ${CFONTDIR}
insinto ${CFONTDIR}
doins ${S}/lib/X11/fonts/local/*
}
pkg_postinst() {
mkfontdir ${CFONTDIR}
cd ${CFONTDIR} ;
cat kc_fonts.alias >> fonts.alias ;
cp fonts.alias ..fonts.alias.. ;
sort ..fonts.alias.. | uniq > fonts.alias ; rm ..fonts.alias..
}
|