# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later S="${WORKDIR}/${P}" SRC_URI="http://umn.dl.sourceforge.net/sourceforge/cxterm/cxterm-5.2.2.tgz" HOMEPAGE="http://cxterm.sourceforge.net/" DESCRIPTION="A Chinese/Japanese/Korean X-Terminal" DEPEND="virtual/x11" RDEPEND="${DEPEND}" SLOT="0" LICENSE="BSD" KEYWORDS="x86" # hyper-optimizations untested... # src_compile() { cd ${S} sed "s/genCxterm/\.\/genCxterm/g" ${S}/scripts/Makefile.in > ${S}/scripts/Makefile.new mv ${S}/scripts/Makefile.new ${S}/scripts/Makefile.in ./configure --prefix=/usr \ --mandir=/usr/share/man \ --infodir=/usr/share/info || die "./configure failed" make CFLAGS="${CFLAGS}" || die } src_install() { dodir /usr/bin dodir /usr/man/man1 dodir /usr/share emake \ prefix=${D}/usr \ mandir=${D}/usr/share/man \ infodir=${D}/usr/share/info \ install || die dodoc NEWS PROBLEMS README }