summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Robbins <drobbins@gentoo.org>2000-09-15 16:35:22 +0000
committerDaniel Robbins <drobbins@gentoo.org>2000-09-15 16:35:22 +0000
commitfeeb13687bd9ec3ab9dd22fb30df59bae3a9f05e (patch)
treeef1a503d90472f71d81f7758733df8ee9758af8f /net-www
parentnetscape upgrades (diff)
downloadhistorical-feeb13687bd9ec3ab9dd22fb30df59bae3a9f05e.tar.gz
historical-feeb13687bd9ec3ab9dd22fb30df59bae3a9f05e.tar.bz2
historical-feeb13687bd9ec3ab9dd22fb30df59bae3a9f05e.zip
more netscape updates
Diffstat (limited to 'net-www')
-rw-r--r--net-www/netscape/navigator-4.75.ebuild15
-rw-r--r--net-www/netscape/netscape-4.75.ebuild15
2 files changed, 14 insertions, 16 deletions
diff --git a/net-www/netscape/navigator-4.75.ebuild b/net-www/netscape/navigator-4.75.ebuild
index 99b0582e3114..de9efc3fc54e 100644
--- a/net-www/netscape/navigator-4.75.ebuild
+++ b/net-www/netscape/navigator-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/navigator-4.75.ebuild,v 1.1 2000/09/15 16:18:48 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/netscape/navigator-4.75.ebuild,v 1.2 2000/09/15 16:35:22 drobbins Exp $
A=navigator-v475-us.x86-unknown-linux2.2.tar.gz
S=${WORKDIR}/navigator-v475.x86-unknown-linux2.2
@@ -14,7 +14,6 @@ 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 -
@@ -23,11 +22,11 @@ src_install() {
cp ${O}/files/netscape ${D}/usr/X11R6/bin/netscape
rm ${D}/opt/netscape/netscape-dynMotif
rm ${D}/opt/netscape/libnullplugin-dynMotif.so
-
+ cat <<EOF > ${D}/usr/X11R6/bin/netscape
+#!/bin/bash
+export MOZILLA_HOME=/opt/netscape
+exec /opt/netscape/netscape
+EOF
+ chmod +x ${D}/usr/X11R6/bin/netscape
}
-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 4af0eb6fccd9..a896d5d47a60 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.2 2000/09/15 16:18:48 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/netscape/netscape-4.75.ebuild,v 1.3 2000/09/15 16:35:22 drobbins Exp $
P=netscape-4.75
A=communicator-v475-us.x86-unknown-linux2.2.tar.gz
@@ -15,7 +15,6 @@ 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 -
@@ -25,11 +24,11 @@ src_install() {
cp ${O}/files/netscape ${D}/usr/X11R6/bin/netscape
rm ${D}/opt/netscape/netscape-dynMotif
rm ${D}/opt/netscape/libnullplugin-dynMotif.so
-
+ cat <<EOF > ${D}/usr/X11R6/bin/netscape
+#!/bin/bash
+export MOZILLA_HOME=/opt/netscape
+exec /opt/netscape/netscape
+EOF
+ chmod +x ${D}/usr/X11R6/bin/netscape
}
-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
-}