summaryrefslogtreecommitdiff
blob: 90be475e567b7799f85beeb3d6d75f56409a54a6 (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/x11-terms/hanterm/hanterm-3.1.6-r2.ebuild,v 1.1 2002/07/24 01:39:14 jayskwak Exp $ 

S=${WORKDIR}/${P}
DESCRIPTION="Hanterm -- Korean terminal"
HOMEPAGE="http://www.hanterm.org"
SRC_URI="http://hanterm.org/download/${P}.tar.gz"
SLOT="0"
KEYWORDS="x86"
LICENSE="X11"


DEPEND="virtual/glibc
	>=x11-libs/Xaw3d-1.5
	virtual/x11
	x11-misc/baekmuk-fonts"

src_compile() {
	./configure 	\
		--host=${CHOST}	\
		--prefix=/usr \
		--mandir=/usr/share/man	\
		--with-Xaw3d \
		--with-utempter

	emake || die
}

src_install() {
	make 	\
		prefix=${D}/usr	\
		mandir=${D}/usr/share/man	\
		install || die
	install -d ${D}/usr/X11R6/lib/X11/app-defaults/
	install -m 644 Hanterm.ad ${D}/usr/X11R6/lib/X11/app-defaults/Hanterm.orig
	cp ${FILESDIR}/Hanterm.gentoo ${D}/usr/X11R6/lib/X11/app-defaults/Hanterm

	cd ${S}/doc
	dodoc README ChangeLog
}