summaryrefslogtreecommitdiff
blob: 4e2f188b23e2a7d6c8ad56e23b4e6c1bf840db8f (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-client/netscape-navigator/netscape-navigator-4.80.ebuild,v 1.5 2005/03/15 21:33:21 seemant Exp $

IUSE=""

MY_PV="v${PV//[0.]/}"
MY_P=navigator-${MY_PV}-us.x86-unknown-linux2.2
S=${WORKDIR}/${MY_P/-us/}

DESCRIPTION="Netscape Navigator 4.x"
SRC_URI="ftp://ftp.netscape.com/pub/communicator/english/${PV%0}/unix/supported/linux22/navigator_standalone/${MY_P}.tar.gz"
HOMEPAGE="http://developer.netscape.com/support/index.html"

SLOT="0"
KEYWORDS="~x86 -*"
LICENSE="NETSCAPE"

DEPEND=">=sys-libs/lib-compat-1.0
	net-www/netscape-flash"
RDEPEND="${DEPEND}
	!www-client/netscape-communicator"

src_install() {
	dodir /opt/netscape
	dodir /usr/X11R6/bin
	dodoc README.install

	cd ${D}/opt/netscape
	tar xz --no-same-owner -f ${S}/netscape-${MY_PV}.nif
	tar xz --no-same-owner -f ${S}/nethelp-${MY_PV}.nif
#	tar xz --no-same-owner -f ${S}/spellchk-${MY_PV}.nif

	insinto /opt/netscape/java/classes
	doins ${S}/*.jar

	rm ${D}/opt/netscape/netscape-dynMotif
	rm ${D}/opt/netscape/libnullplugin-dynMotif.so
	rm ${D}/opt/netscape/plugins/libflashplayer.so

	exeinto /usr/X11R6/bin
	doexe ${FILESDIR}/netscape
}