# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-terms/hanterm-xf/hanterm-xf-2.0.5.ebuild,v 1.8 2011/08/02 05:53:40 mattst88 Exp $ MY_P="${P}-173" DESCRIPTION="Patched xterm for Korean input/output" HOMEPAGE="http://www.kr.freebsd.org/~hwang/hanterm/" SRC_URI="http://download.kldp.net/${PN}/${MY_P}.tar.gz" LICENSE="|| ( MIT GPL-2 )" SLOT="0" KEYWORDS="x86 ppc" IUSE="Xaw3d truetype" RDEPEND="x11-libs/libXmu x11-libs/libICE x11-libs/libXaw sys-apps/utempter Xaw3d? ( x11-libs/libXaw3d ) media-fonts/baekmuk-fonts !x11-terms/hanterm" DEPEND="${RDEPEND}" S=${WORKDIR}/${MY_P} src_compile() { local myconf use Xaw3d && myconf="--with-Xaw3d" econf \ $(use_enable truetype freetype) \ --libdir=/etc \ --with-utempter \ --enable-ansi-color \ --enable-88-color \ --enable-256-color \ --enable-broken-osc \ --enable-broken-st \ --enable-load-vt-fonts \ --enable-i18n \ --enable-wide-chars \ --enable-doublechars \ --enable-warnings \ --enable-tcap-query \ --disable-imake \ --disable-toolbar \ ${myconf} || die emake || die } src_install() { dobin hanterm insinto /usr/share/hangul_keyboard doins keyboard/* insinto /usr/share/X11/app-defaults newins Hanterm.ad Hanterm newins Hanterm-col.ad Hanterm-color newman hanterm.man hanterm.1 dodoc README* INSTALL* }