blob: 57b42f709800bfc29b46c77e8bee46d18c8b9367 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# Copyright 1999-2007 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.6 2007/07/22 05:46:31 dberkholz 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"
DEPEND="x11-libs/libXmu
x11-libs/libICE
x11-libs/libXaw
sys-apps/utempter
Xaw3d? ( x11-libs/Xaw3d )
media-fonts/baekmuk-fonts
!x11-terms/hanterm"
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 /etc/X11/app-defaults
newins Hanterm.ad Hanterm
newins Hanterm-col.ad Hanterm-color
newman hanterm.man hanterm.1
dodoc README* INSTALL*
}
|