diff options
Diffstat (limited to 'net-www/netscape/navigator-4.75.ebuild')
-rw-r--r-- | net-www/netscape/navigator-4.75.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
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 +} |