summaryrefslogtreecommitdiff
blob: 2be77e2cb5a473fd777d5372cc534a7a67e84757 (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/net-misc/x3270/x3270-3.2.19.ebuild,v 1.5 2002/12/09 04:33:19 manson Exp $

IUSE=""

S="${WORKDIR}/${PN}-3.2"
DESCRIPTION="Telnet 3270 client for X"
SRC_URI="http://x3270.bgp.nu/download/${PN}-${PV//.}.tgz"
HOMEPAGE="http://www.geocities.com/SiliconValley/Peaks/7814/"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 sparc "

DEPEND="virtual/x11"

src_compile() {
	econf --with-x || die
	emake || die
}

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

	rm ${D}/usr/X11R6/lib/X11/fonts/misc/fonts.dir
}

pkg_postinst() {
	einfo ">>> Running mkfontdir on /usr/X11R6/lib/X11/fonts/misc"
	mkfontdir /usr/lib/X11/fonts/misc
}

pkg_postrm() {
	einfo ">>> Running mkfontdir on /usr/X11R6/lib/X11/fonts/misc"
	mkfontdir /usr/lib/X11/fonts/misc
}