new ebuild going in
authorStuart Bouyer <stubear@gentoo.org>
Wed, 23 Oct 2002 14:39:23 +0000 (14:39 +0000)
committerStuart Bouyer <stubear@gentoo.org>
Wed, 23 Oct 2002 14:39:23 +0000 (14:39 +0000)
x11-misc/zh-kcfonts/ChangeLog [new file with mode: 0644]
x11-misc/zh-kcfonts/files/digest-zh-kcfonts-1.05 [new file with mode: 0644]
x11-misc/zh-kcfonts/zh-kcfonts-1.05.ebuild [new file with mode: 0644]

diff --git a/x11-misc/zh-kcfonts/ChangeLog b/x11-misc/zh-kcfonts/ChangeLog
new file mode 100644 (file)
index 0000000..b053c0e
--- /dev/null
@@ -0,0 +1,10 @@
+# ChangeLog for x11-misc/zh-kcfonts
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/zh-kcfonts/ChangeLog,v 1.1 2002/10/23 14:39:23 stubear Exp $
+
+*zh-kcfonts-1.05 (10 Oct 2002)
+
+  10 Oct 2002; Stuart Bouyer <stubear@gentoo.org> zh-kcfonts-1.05.ebuild,
+  files/digest-zh-kcfonts-1.05, ChangeLog :
+
+  Initial ebuild submitted by lloyd@coventive.com (Lloyd Huang)
diff --git a/x11-misc/zh-kcfonts/files/digest-zh-kcfonts-1.05 b/x11-misc/zh-kcfonts/files/digest-zh-kcfonts-1.05
new file mode 100644 (file)
index 0000000..71a78de
--- /dev/null
@@ -0,0 +1 @@
+MD5 aab839f8c4c8afbd1f02ce6ed3a6373a zh-kcfonts-1.05.tgz 1175700
diff --git a/x11-misc/zh-kcfonts/zh-kcfonts-1.05.ebuild b/x11-misc/zh-kcfonts/zh-kcfonts-1.05.ebuild
new file mode 100644 (file)
index 0000000..7ccc57e
--- /dev/null
@@ -0,0 +1,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..
+}