blob: 684fe70fb9adfab57ae56eeffab755484c5337c3 (
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
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-terms/hanterm/hanterm-3.1.6-r4.ebuild,v 1.3 2010/08/10 20:55:07 hwoarang Exp $
inherit eutils toolchain-funcs
DESCRIPTION="Hanterm -- Korean terminal"
HOMEPAGE="http://www.hanterm.org/"
SRC_URI="http://download.kldp.net/hanterm/${P}.tar.gz"
LICENSE="MIT as-is"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="utempter"
DEPEND="x11-libs/libXmu
x11-libs/libICE
x11-libs/libXaw
utempter? ( sys-libs/libutempter )
>=x11-libs/Xaw3d-1.5"
RDEPEND="${DEPEND}
media-fonts/baekmuk-fonts"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-gentoo.patch"
sed -i -e "/^LDFLAGS/s:=:& ${LDFLAGS} :" \
-e "s:\$(CFLAGS):& \$(LDFLAGS) :" Makefile.in
}
src_compile() {
econf \
--with-Xaw3d \
$(use_with utempter) \
|| die "econf failed"
emake CC="$(tc-getCC)" || die "emake failed"
}
src_install() {
dobin hanterm || die
insinto /usr/share/X11/app-defaults
newins Hanterm.ad Hanterm.orig
newins "${FILESDIR}/Hanterm.gentoo" Hanterm
newman hanterm.man hanterm.1
dohtml doc/devel/hanterm.html doc/devel/3final.gif
dodoc README ChangeLog doc/{AUTHORS,THANKS,TODO}
dodoc doc/devel/hanterm.sgml
dodoc doc/historic/{ChangeLog*,DGUX.note,README*}
}
|