# Create by lloyd Huang (Huang YU HSIN) e-mail lloyd@coventive.com # Distributed under the terms of the GNU General Public License v2 DESCRIPTION="kcfonts' fonts are contributed by Kau Chauo Information CO. to all TANet users running on PC. Thanks Chin-Hao Tsai , who converted it to the style of ETen's fonts. Now you can use kcfonts & crxvt to view Chinese by BIG5 encoding. -- PA " KCFONTS="zh-kcfonts-1.05.tgz" SRC_URI="ftp://ftp.freebsd.org.tw/pub/i386/4.6.2-RELEASE/packages/x11-fonts/${KCFONTS}" LICENSE="UNKNOWN" 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 ${KCFONTS} } src_install () { mkdir -p ${D}${CFONTDIR} cp ${S}/lib/X11/fonts/local/* ${D}${CFONTDIR} # Again, verify the Makefiles! We don't want anything falling # outside of ${D}. } 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.. }