diff options
author | Daniel Robbins <drobbins@gentoo.org> | 2000-09-15 16:18:48 +0000 |
---|---|---|
committer | Daniel Robbins <drobbins@gentoo.org> | 2000-09-15 16:18:48 +0000 |
commit | e497e67d2e171eee48f50a53e78233ddc317eaa5 (patch) | |
tree | 6c06a2fc14d3d252146fafa36e3d0648576a4e2b /net-www/netscape | |
parent | try error protection :) (diff) | |
download | gentoo-2-e497e67d2e171eee48f50a53e78233ddc317eaa5.tar.gz gentoo-2-e497e67d2e171eee48f50a53e78233ddc317eaa5.tar.bz2 gentoo-2-e497e67d2e171eee48f50a53e78233ddc317eaa5.zip |
netscape upgrades
Diffstat (limited to 'net-www/netscape')
-rw-r--r-- | net-www/netscape/files/digest-navigator-4.75 | 1 | ||||
-rw-r--r-- | net-www/netscape/navigator-4.75.ebuild | 33 | ||||
-rw-r--r-- | net-www/netscape/netscape-4.75.ebuild | 10 |
3 files changed, 41 insertions, 3 deletions
diff --git a/net-www/netscape/files/digest-navigator-4.75 b/net-www/netscape/files/digest-navigator-4.75 new file mode 100644 index 000000000000..cb09734432cc --- /dev/null +++ b/net-www/netscape/files/digest-navigator-4.75 @@ -0,0 +1 @@ +MD5 4fd68b63566033ad94f1fa06acb8b36b navigator-v475-us.x86-unknown-linux2.2.tar.gz diff --git a/net-www/netscape/navigator-4.75.ebuild b/net-www/netscape/navigator-4.75.ebuild new file mode 100644 index 000000000000..99b0582e3114 --- /dev/null +++ b/net-www/netscape/navigator-4.75.ebuild @@ -0,0 +1,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/navigator-4.75.ebuild,v 1.1 2000/09/15 16:18:48 drobbins Exp $ + +A=navigator-v475-us.x86-unknown-linux2.2.tar.gz +S=${WORKDIR}/navigator-v475.x86-unknown-linux2.2 +DESCRIPTION="Netscape Navigator Standalone 4.75" +SRC_URI="ftp://ftp.netscape.com/pub/communicator/english/4.75/unix/supported/linux22/navigator_standalone/"${A} +HOMEPAGE="http://developer.netscape.com/support/index.html" + +src_install() { + cd ${S} + dodir /opt/netscape + dodir /opt/netscape/java/classes + dodir /usr/X11R6/bin + dosym /opt/netscape/netscape /usr/X11R6/bin/netscape + dodoc README.install + cd ${D}/opt/netscape + gzip -dc ${S}/netscape-v475.nif | tar xf - + gzip -dc ${S}/nethelp-v475.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 + +} + +pkg_postinst() { + cp ${ROOT}/etc/profile ${ROOT}/etc/profile.pre-${P} + grep -v MOZILLA_HOME ${ROOT}/etc/profile.pre-${P} > ${ROOT}/etc/profile + echo "export MOZILLA_HOME=/opt/netscape" >> ${ROOT}/etc/profile +} diff --git a/net-www/netscape/netscape-4.75.ebuild b/net-www/netscape/netscape-4.75.ebuild index b681a8f0e2ee..4af0eb6fccd9 100644 --- a/net-www/netscape/netscape-4.75.ebuild +++ b/net-www/netscape/netscape-4.75.ebuild @@ -1,7 +1,7 @@ # 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.75.ebuild,v 1.1 2000/08/22 19:04:57 achim Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/netscape/netscape-4.75.ebuild,v 1.2 2000/09/15 16:18:48 drobbins Exp $ P=netscape-4.75 A=communicator-v475-us.x86-unknown-linux2.2.tar.gz @@ -15,6 +15,7 @@ src_install() { dodir /opt/netscape dodir /opt/netscape/java/classes dodir /usr/X11R6/bin + dosym /opt/netscape/netscape /usr/X11R6/bin/netscape dodoc README.install cd ${D}/opt/netscape gzip -dc ${S}/netscape-v475.nif | tar xf - @@ -27,5 +28,8 @@ src_install() { } - - +pkg_postinst() { + cp ${ROOT}/etc/profile ${ROOT}/etc/profile.pre-${P} + grep -v MOZILLA_HOME ${ROOT}/etc/profile.pre-${P} > ${ROOT}/etc/profile + echo "export MOZILLA_HOME=/opt/netscape" >> ${ROOT}/etc/profile +} |