| 1 |
# Copyright 1999-2011 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.7 2009/05/05 10:53:21 ssuominen 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 |
RDEPEND="x11-libs/libXmu |
| 18 |
x11-libs/libICE |
| 19 |
x11-libs/libXaw |
| 20 |
sys-apps/utempter |
| 21 |
Xaw3d? ( x11-libs/libXaw3d ) |
| 22 |
media-fonts/baekmuk-fonts |
| 23 |
!x11-terms/hanterm" |
| 24 |
DEPEND="${RDEPEND}" |
| 25 |
|
| 26 |
S=${WORKDIR}/${MY_P} |
| 27 |
|
| 28 |
src_compile() { |
| 29 |
local myconf |
| 30 |
use Xaw3d && myconf="--with-Xaw3d" |
| 31 |
econf \ |
| 32 |
$(use_enable truetype freetype) \ |
| 33 |
--libdir=/etc \ |
| 34 |
--with-utempter \ |
| 35 |
--enable-ansi-color \ |
| 36 |
--enable-88-color \ |
| 37 |
--enable-256-color \ |
| 38 |
--enable-broken-osc \ |
| 39 |
--enable-broken-st \ |
| 40 |
--enable-load-vt-fonts \ |
| 41 |
--enable-i18n \ |
| 42 |
--enable-wide-chars \ |
| 43 |
--enable-doublechars \ |
| 44 |
--enable-warnings \ |
| 45 |
--enable-tcap-query \ |
| 46 |
--disable-imake \ |
| 47 |
--disable-toolbar \ |
| 48 |
${myconf} || die |
| 49 |
emake || die |
| 50 |
} |
| 51 |
|
| 52 |
src_install() { |
| 53 |
dobin hanterm |
| 54 |
insinto /usr/share/hangul_keyboard |
| 55 |
doins keyboard/* |
| 56 |
|
| 57 |
insinto /usr/share/X11/app-defaults |
| 58 |
newins Hanterm.ad Hanterm |
| 59 |
newins Hanterm-col.ad Hanterm-color |
| 60 |
|
| 61 |
newman hanterm.man hanterm.1 |
| 62 |
dodoc README* INSTALL* |
| 63 |
} |