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