From: Stuart Bouyer Date: Wed, 23 Oct 2002 14:39:23 +0000 (+0000) Subject: new ebuild going in X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=2f20f0d028808bdea83c33c024ce71bacfeddfed;p=gentoo.git new ebuild going in --- diff --git a/x11-misc/zh-kcfonts/ChangeLog b/x11-misc/zh-kcfonts/ChangeLog new file mode 100644 index 000000000000..b053c0e8dbdb --- /dev/null +++ b/x11-misc/zh-kcfonts/ChangeLog @@ -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 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 index 000000000000..71a78de486ef --- /dev/null +++ b/x11-misc/zh-kcfonts/files/digest-zh-kcfonts-1.05 @@ -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 index 000000000000..7ccc57e20685 --- /dev/null +++ b/x11-misc/zh-kcfonts/zh-kcfonts-1.05.ebuild @@ -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.. +}