summaryrefslogtreecommitdiff
blob: 0c39d0216ef30849a19a4e7fd6a47f7c8a3d4f00 (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
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/net-www/netscape/netscape-4.76.ebuild,v 1.2 2000/12/25 16:17:42 achim Exp $

P=netscape-4.76
A=communicator-v476-us.x86-unknown-linux2.2.tar.gz
S=${WORKDIR}/communicator-v476.x86-unknown-linux2.2
DESCRIPTION="Netscape Communicator 4.76"
SRC_URI="ftp://ftp.netscape.com/pub/communicator/english/4.76/unix/supported/linux22/complete_install/"${A}
HOMEPAGE="http://developer.netscape.com/support/index.html"

DEPEND=""

src_install() {                               
  cd ${S}
  dodir /opt/netscape
  dodir /opt/netscape/java/classes
  dodir /usr/X11R6/bin
  dodoc README.install
  cd ${D}/opt/netscape
  gzip -dc ${S}/netscape-v476.nif | tar xf -
  gzip -dc ${S}/nethelp-v476.nif | tar xf -
  gzip -dc ${S}/spellchk-v476.nif | tar xf -
  cp ${S}/*.jar ${D}/opt/netscape/java/classes
  cp ${O}/files/netscape ${D}/usr/X11R6/bin/netscape
  rm ${D}/opt/netscape/netscape-dynMotif
  rm ${D}/opt/netscape/libnullplugin-dynMotif.so
  insinto /usr/X11R6/bin
  doins ${FILESDIR}/netscape 
  chmod +x ${D}/usr/X11R6/bin/netscape
}