diff options
author | Mamoru Komachi <usata@gentoo.org> | 2005-02-05 05:03:30 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2005-02-05 05:03:30 +0000 |
commit | 399e8f180d35ce9931fe73b81c803140b2bbf275 (patch) | |
tree | 842c3163e735daaac228edd2b0c5c2c62fe49084 /www-client | |
parent | Added www-client/netscape:aim and www-client/netscape:moznomail. (diff) | |
download | gentoo-2-399e8f180d35ce9931fe73b81c803140b2bbf275.tar.gz gentoo-2-399e8f180d35ce9931fe73b81c803140b2bbf275.tar.bz2 gentoo-2-399e8f180d35ce9931fe73b81c803140b2bbf275.zip |
Initial import. Ebuild submitted by fn_x@hotmail.com. This closes bug #58410.
(Portage version: 2.0.51-r15)
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/netscape/ChangeLog | 10 | ||||
-rw-r--r-- | www-client/netscape/Manifest | 4 | ||||
-rw-r--r-- | www-client/netscape/files/digest-netscape-7.2 | 1 | ||||
-rw-r--r-- | www-client/netscape/metadata.xml | 8 | ||||
-rw-r--r-- | www-client/netscape/netscape-7.2.ebuild | 69 |
5 files changed, 92 insertions, 0 deletions
diff --git a/www-client/netscape/ChangeLog b/www-client/netscape/ChangeLog new file mode 100644 index 000000000000..5b96cdf9cd3b --- /dev/null +++ b/www-client/netscape/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for www-client/netscape +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-client/netscape/ChangeLog,v 1.1 2005/02/05 05:03:30 usata Exp $ + +*netscape-7.2 (05 Feb 2005) + + 05 Feb 2005; Mamoru KOMACHI <usata@gentoo.org> +metadata.xml, + +netscape-7.2.ebuild: + Initial import. Ebuild submitted by fn_x@hotmail.com. This closes bug #58410. + diff --git a/www-client/netscape/Manifest b/www-client/netscape/Manifest new file mode 100644 index 000000000000..0b189aeadc44 --- /dev/null +++ b/www-client/netscape/Manifest @@ -0,0 +1,4 @@ +MD5 6a8a3fdd4804d1da7e3e95de27eb1d26 netscape-4.80.ebuild 1699 +MD5 a107ee4c9f0565e534ca5877556e523c netscape-7.2.ebuild 2392 +MD5 1d32b5d27e93c8c017258ac2981d00af files/digest-netscape-4.80 185 +MD5 1356e62f21a99bbf8c79bedc63e14299 files/digest-netscape-7.2 84 diff --git a/www-client/netscape/files/digest-netscape-7.2 b/www-client/netscape/files/digest-netscape-7.2 new file mode 100644 index 000000000000..9c88cb685f4a --- /dev/null +++ b/www-client/netscape/files/digest-netscape-7.2 @@ -0,0 +1 @@ +MD5 2e0111bb60993a2b97d06e738cbad27f netscape-i686-pc-linux-gnu-sea.tar.gz 16751340 diff --git a/www-client/netscape/metadata.xml b/www-client/netscape/metadata.xml new file mode 100644 index 000000000000..0d93ebc2d237 --- /dev/null +++ b/www-client/netscape/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>usata@gentoo.org</email> +</maintainer> +</pkgmetadata> diff --git a/www-client/netscape/netscape-7.2.ebuild b/www-client/netscape/netscape-7.2.ebuild new file mode 100644 index 000000000000..7bdac4de5657 --- /dev/null +++ b/www-client/netscape/netscape-7.2.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-client/netscape/netscape-7.2.ebuild,v 1.1 2005/02/05 05:03:30 usata Exp $ + +DESCRIPTION="Netscape 7.x - built with Mozilla(TM)" +HOMEPAGE="http://channels.netscape.com/ns/browsers/" +SRC_URI="http://ftp.netscape.com/pub/netscape7/english/${PV}/unix/linux/sea/netscape-i686-pc-linux-gnu-sea.tar.gz" +LICENSE="MPL-1.1 NPL-1.1" +RESTRICT="nomirror" +SLOT="${PV}" +KEYWORDS="-* ~x86" +IUSE="aim flash moznomail spell" +DEPEND="virtual/x11 + =dev-libs/glib-1.2* + =x11-libs/gtk+-1.2* + flash? ( !net-www/netscape-flash )" +S="${WORKDIR}/netscape-installer" + +src_unpack() { + unpack ${A} + cd ${S} + # Removing the RunApp section to prevent Netscape from launching after installation + # Removing the Setup Type sections because we write our own + sed -i config.ini \ + -e "s:\(Default Location\)=.*:\1=${D}/opt/${P/-//}:" \ + -e '/\[RunApp0\]/,/^$/d' \ + -e '/\[Setup Type[0-9]*\]/,/^$/d' + echo '[Setup Type0]' >> config.ini + # netscape-installer segfaults if the description is missing + echo 'Description Short=' >> config.ini + echo 'Description Long=' >> config.ini + local C=0 + for component in \ + 0 'XPInstall Engine' \ + 1 'Navigator' \ + $(useq !moznomail && echo 2 ) 'Mail & News' \ + $(useq aim && echo 3 ) 'Instant Messenger' \ + 4 'Personal Security Manager' \ + $(useq spell && echo 5 ) 'Spell Checker' \ + $(false && echo 6 ) 'Quality Feedback Agent' \ + 7 'US English Profile Defaults' \ + 8 'English (US) Language Pack' \ + 9 'US Region Pack' \ + $(false && echo 10) 'Sun Java 2' \ + $(useq flash && echo 11) 'Macromedia Flash Player' \ + $(false && echo 19) 'Venkman' \ + $(false && echo 20) 'Chatzilla' \ + $(false && echo 21) 'DOM Inspector' \ + ; do + expr "$component" : '[0-9]*$' >/dev/null || continue + + echo "C$C=Component$component" >> config.ini + C=$((C+1)) + done +} + +src_compile() { + einfo "Nothing to compile" +} + +src_install() { + ./netscape-installer -ms || die 'netscape-installer failed' + dodir /usr/lib/nsbrowser + mv ${D}/opt/${P/-//}/plugins ${D}/usr/lib/nsbrowser + dosym /usr/lib/nsbrowser/plugins /opt/${P/-//}/plugins + dodir /usr/bin + dosym /opt/${P/-//}/netscape /usr/bin/${P} + rm -f ${D}/usr/lib/nsbrowser/libnullplugin.so +} |