summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-terms/hanterm/hanterm-3.1.6-r2.ebuild')
-rw-r--r--x11-terms/hanterm/hanterm-3.1.6-r2.ebuild53
1 files changed, 53 insertions, 0 deletions
diff --git a/x11-terms/hanterm/hanterm-3.1.6-r2.ebuild b/x11-terms/hanterm/hanterm-3.1.6-r2.ebuild
new file mode 100644
index 00000000000..72f868b9492
--- /dev/null
+++ b/x11-terms/hanterm/hanterm-3.1.6-r2.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+DESCRIPTION="Hanterm -- Korean terminal"
+HOMEPAGE="http://www.hanterm.org/"
+SRC_URI="http://download.kldp.net/hanterm/${P}.tar.gz"
+
+LICENSE="MIT HPND"
+SLOT="0"
+KEYWORDS="x86 ppc"
+IUSE=""
+
+DEPEND="x11-libs/libXmu
+ x11-libs/libICE
+ x11-libs/libXaw
+ >=x11-libs/libXaw3d-1.5"
+RDEPEND="${DEPEND}
+ media-fonts/baekmuk-fonts"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i -e "s:extern char \*malloc();::" \
+ -e "s:extern char \*realloc();::" \
+ button.c charproc.c
+}
+
+src_compile() {
+
+ econf --with-Xaw3d --with-utempter || die
+ perl -i -pe "s/VENDORNAME=(.*?) -/VENDORNAME=\"\1\" -/" Makefile || die
+ emake || die
+}
+
+src_install() {
+
+ einstall || die
+
+ insinto /usr/share/X11/app-defaults
+ newins Hanterm.ad Hanterm.orig
+ newins "${FILESDIR}"/Hanterm.gentoo Hanterm
+
+ newman hanterm.man hanterm.1
+
+ insinto /usr/share/doc/${PF}
+ doins doc/devel/3final.gif
+ dohtml doc/devel/hanterm.html
+
+ dodoc README ChangeLog doc/{AUTHORS,THANKS,TODO}
+ dodoc doc/devel/hanterm.sgml
+ dodoc doc/historic/{ChangeLog*,DGUX.note,README*}
+}