summaryrefslogtreecommitdiff
blob: b9c05044d00d8c0ba2d98c64d8bb57c25f7e7247 (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-terms/kterm/kterm-6.2.0.ebuild,v 1.4 2002/10/21 14:53:42 cselkirk Exp $

DESCRIPTION="Japanese Kanji X Terminal"
SRC_URI="ftp://ftp.x.org/contrib/applications/kterm-6.2.0.tar.gz"
# until someone who reads japanese can find a better place
HOMEPAGE="http://www.asahi-net.or.jp/~hc3j-tkg/kterm/"
LICENSE="X11"
SLOT=0
KEYWORDS="x86 ppc"

S=${WORKDIR}/${P}

DEPEND="virtual/glibc virtual/x11"

src_unpack(){
	unpack ${A}
	cd ${S}
	patch -p1 < ${FILESDIR}/kterm-6.2.0-gentoo.patch
}

src_compile(){
	xmkmf -a || die;
	emake    || die;
}

src_install(){
	make DESTDIR=${D} install     || die;
	make DESTDIR=${D} install.man || die;

	if [ ! -e /usr/share/terminfo/k/kterm ];
	then
		cd {S};
		tic terminfo.kt -o${D}/usr/share/terminfo;
	fi
}