| 1 |
# Copyright 1999-2006 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/x11-terms/hanterm-xf/hanterm-xf-2.0.5.ebuild,v 1.4 2006/02/13 03:18:08 liquidx Exp $ |
| 4 |
|
| 5 |
MY_P="${P}-173" |
| 6 |
|
| 7 |
DESCRIPTION="Patched xterm for Korean input/output" |
| 8 |
HOMEPAGE="http://www.kr.freebsd.org/~hwang/hanterm/" |
| 9 |
SRC_URI="http://download.kldp.net/${PN}/${MY_P}.tar.gz" |
| 10 |
|
| 11 |
LICENSE="|| ( MIT GPL-2 )" |
| 12 |
SLOT="0" |
| 13 |
KEYWORDS="x86 ppc" |
| 14 |
|
| 15 |
IUSE="Xaw3d truetype" |
| 16 |
|
| 17 |
DEPEND=" |
| 18 |
|| ( ( x11-libs/libXmu x11-libs/libICE x11-libs/libXaw ) |
| 19 |
virtual/x11 ) |
| 20 |
sys-apps/utempter |
| 21 |
Xaw3d? ( x11-libs/Xaw3d ) |
| 22 |
media-fonts/baekmuk-fonts |
| 23 |
!x11-terms/hanterm" |
| 24 |
S=${WORKDIR}/${MY_P} |
| 25 |
|
| 26 |
src_compile() { |
| 27 |
local myconf |
| 28 |
use Xaw3d && myconf="--with-Xaw3d" |
| 29 |
econf \ |
| 30 |
$(use_enable truetype freetype) \ |
| 31 |
--libdir=/etc \ |
| 32 |
--with-utempter \ |
| 33 |
--enable-ansi-color \ |
| 34 |
--enable-88-color \ |
| 35 |
--enable-256-color \ |
| 36 |
--enable-broken-osc \ |
| 37 |
--enable-broken-st \ |
| 38 |
--enable-load-vt-fonts \ |
| 39 |
--enable-i18n \ |
| 40 |
--enable-wide-chars \ |
| 41 |
--enable-doublechars \ |
| 42 |
--enable-warnings \ |
| 43 |
--enable-tcap-query \ |
| 44 |
--disable-imake \ |
| 45 |
--disable-toolbar \ |
| 46 |
${myconf} || die |
| 47 |
emake || die |
| 48 |
} |
| 49 |
|
| 50 |
src_install() { |
| 51 |
dobin hanterm |
| 52 |
insinto /usr/share/hangul_keyboard |
| 53 |
doins keyboard/* |
| 54 |
|
| 55 |
insinto /etc/X11/app-defaults |
| 56 |
newins Hanterm.ad Hanterm |
| 57 |
newins Hanterm-col.ad Hanterm-color |
| 58 |
|
| 59 |
newman hanterm.man hanterm.1 |
| 60 |
dodoc README* INSTALL* |
| 61 |
} |