blob: 586e75da3d2718c88ba00d650174552a26a69d57 (
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
62
63
|
# 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*
}
|