summaryrefslogtreecommitdiff
blob: e5a63ae79f0bfa6d21ad563f56765760382cf374 (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
# 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.ebuild,v 1.4 2002/07/11 06:30:58 drobbins Exp $ 

S=${WORKDIR}/${P}
DESCRIPTION="Hanterm -- Korean terminal"
#SRC_URI="http://www.kr.freebsd.org/~hwang/hanterm/${P}.tar.gz"
SRC_URI="http://hanterm.org/download/${P}.tar.gz
	ftp://ftp.nnongae.com/pub/gentoo/${P}.patch"
SLOT="0"
KEYWORDS="x86"

HOMEPAGE="http://www.hanterm.org"

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

src_unpack () {
	unpack ${P}.tar.gz

	patch -p0 < ${DISTDIR}/${P}.patch || die
}

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

	cd ${S}/doc
	dodoc TODO COPYING THANKS
}