diff options
author | garbled <garbled@pkgsrc.org> | 1999-07-21 23:09:01 +0000 |
---|---|---|
committer | garbled <garbled@pkgsrc.org> | 1999-07-21 23:09:01 +0000 |
commit | 3a578d7f4ee9a5857d8641059c34865b611e8937 (patch) | |
tree | 2e1a862f14134a2c97924069cb79a4200cb1237f /www/navigator3 | |
parent | 981fe9f0cab1b19b1eaa746a342a065d5a53dea9 (diff) | |
download | pkgsrc-3a578d7f4ee9a5857d8641059c34865b611e8937.tar.gz |
Netscape Navigator 3.x pkg. Currently for i386 only, but someone
with the proper hardware could probably get this working on sparc with
very little work.
Diffstat (limited to 'www/navigator3')
-rw-r--r-- | www/navigator3/Makefile | 33 | ||||
-rw-r--r-- | www/navigator3/files/mailcap | 69 | ||||
-rw-r--r-- | www/navigator3/files/md5 | 3 | ||||
-rw-r--r-- | www/navigator3/files/movemail.sh | 2 | ||||
-rw-r--r-- | www/navigator3/files/netscape.sh | 6 | ||||
-rw-r--r-- | www/navigator3/pkg/COMMENT | 1 | ||||
-rw-r--r-- | www/navigator3/pkg/DESCR | 8 | ||||
-rw-r--r-- | www/navigator3/pkg/PLIST | 12 | ||||
-rw-r--r-- | www/navigator3/scripts/configure | 25 |
9 files changed, 159 insertions, 0 deletions
diff --git a/www/navigator3/Makefile b/www/navigator3/Makefile new file mode 100644 index 00000000000..c64ac85661d --- /dev/null +++ b/www/navigator3/Makefile @@ -0,0 +1,33 @@ +# $NetBSD: Makefile,v 1.1.1.1 1999/07/21 23:09:01 garbled Exp $ + +DISTNAME= netscape-v304-export.x86-unknown-bsd +PKGNAME= navigator3-3.04 +CATEGORIES= www +MASTER_SITES= ftp://archive:oldies@archive.netscape.com/archive/navigator/3.04/shipping/english/unix/bsdi11/navigator_complete/ + +MAINTAINER= root@garbled.net +HOMEPAGE= http://www.netscape.com + +ONLY_FOR_PLATFORM= *-*-i386 + +MIRROR_DISTFILE= no +NO_CDROM= Licensed product +NO_WRKSUBDIR= yes +USE_X11BASE= yes +SCRIPTS_ENV+= MACHINE_ARCH=${MACHINE_ARCH} +NO_BUILD= yes + +do-install: + ${INSTALL_DATA_DIR} ${X11BASE}/share/netscape + ${INSTALL_DATA_DIR} ${X11BASE}/share/netscape/nls + ${INSTALL_DATA_DIR} ${X11BASE}/share/netscape/java + ${INSTALL_SCRIPT} ${WRKSRC}/netscape ${X11BASE}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/netscape.bin ${X11BASE}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/movemail ${X11BASE}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/movemail.bin ${X11BASE}/bin + ${INSTALL_DATA} ${WRKSRC}/nls/C ${X11BASE}/share/netscape/nls + ${INSTALL_DATA} ${WRKSRC}/nls/nls.dir ${X11BASE}/share/netscape/nls + ${INSTALL_DATA} ${WRKSRC}/java_301 ${X11BASE}/share/netscape/java + ${INSTALL_DATA} ${WRKSRC}/mailcap ${X11BASE}/share/netscape + +.include "../../mk/bsd.pkg.mk" diff --git a/www/navigator3/files/mailcap b/www/navigator3/files/mailcap new file mode 100644 index 00000000000..61daeb5db71 --- /dev/null +++ b/www/navigator3/files/mailcap @@ -0,0 +1,69 @@ +# Example .mailcap file for FreeBSD machines +# +# First a note about syntax: +# The first token in a configuration line represents a mime type. +# A mime type is of the form "SubGroup/Item" and either token +# can be replaced by the wildcard character "*" +# +# the second token is the command that you would run +# when the specified mime type is encountered. An example +# would be "xv %s" where %s will be replaced by a filename +# +# remaining tokens represent name value pairs. +# +# the "test=<SOME TEST COMMAND>" pair invokes the test command +# specified and checks the UNIX shell return code to see if the +# test passed. If the test passes the mime mapping is made, otherwise +# the mapping is not made. +# +# the "stream-buffer-size=<NUMBER>" pair tells the application +# to use a popen command to invoke the program specified and to +# pipe all data into the command. Only programs that can handle +# piped input can use this method. When this method is used +# a "%s" should not be included in the command. You should +# make sure that the program you wish to use can accept piped +# data by trying something like this before using it: +# cat "YOUR_DATA_FILE_HERE" | COMMAND_TO_TEST +# +# You may continue lines by using the backslash character "\" + +# FreeBSD doesn't seem to support `sfplay' yet, but if a port comes +# along then the following should be enabled. +# +# plays AIFF files +#audio/x-aiff; sfplay %s + +# plays AIFC files +#audio/x-aifc; sfplay %s + +# FreeBSD has no wavplay utility either, but if someone +# would care to port one then this can also be used. +# plays WAV files +#audio/x-wav; wavplay %s > /dev/null 2>&1 + +# FreeBSD /dev/audio is sun compliant +audio/basic; cat %s > /dev/audio + +# use this to play MPEG audio if you have maplay installed +audio/x-mpeg; maplay -; stream-buffer-size=2000 + +# use this to play MPEG video files if you have mpeg_play installed +video/mpeg; mpeg_play -quiet %s + +# All other anims go well with xanim (if installed) +video/*; xanim %s > /dev/null 2>&1 + +# use this to display postscript files +application/postscript; ghostview %s + +# use this to display pdf files +application/pdf; xpdf %s 2>/dev/null + +# this is the default for non GIF or JPEG images +image/*; xv %s + +# if you would prefer an external viewer for GIF and JPEG images +# uncomment the following lines for XV to act as your external viewer. +#image/gif; xv %s +#image/jpg; xv %s +#image/jpeg; xv %s diff --git a/www/navigator3/files/md5 b/www/navigator3/files/md5 new file mode 100644 index 00000000000..c169fd80905 --- /dev/null +++ b/www/navigator3/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 1999/07/21 23:09:02 garbled Exp $ + +MD5 (netscape-v304-export.x86-unknown-bsd.tar.gz) = a08bc63c6f1a2e934045be0848c7bb09 diff --git a/www/navigator3/files/movemail.sh b/www/navigator3/files/movemail.sh new file mode 100644 index 00000000000..c5119bb2e4a --- /dev/null +++ b/www/navigator3/files/movemail.sh @@ -0,0 +1,2 @@ +#!/bin/sh +exec @EXECDIR@/movemail.bin "$@" diff --git a/www/navigator3/files/netscape.sh b/www/navigator3/files/netscape.sh new file mode 100644 index 00000000000..33ec0da6c79 --- /dev/null +++ b/www/navigator3/files/netscape.sh @@ -0,0 +1,6 @@ +#!/bin/sh +export XKEYSYMDB ; XKEYSYMDB=@X11BASE@/lib/X11/XKeysymDB +export XNLSPATH ; XNLSPATH=@X11BASE@/share/netscape/nls +export XAPPLRESDIR ; XAPPLRESDIR=@X11BASE@/lib/X11/app-defaults +export CLASSPATH ; CLASSPATH=@X11BASE@/share/netscape/java/java_301 +exec @EXECDIR@/netscape.bin "$@" diff --git a/www/navigator3/pkg/COMMENT b/www/navigator3/pkg/COMMENT new file mode 100644 index 00000000000..191e8e0317d --- /dev/null +++ b/www/navigator3/pkg/COMMENT @@ -0,0 +1 @@ +netscape ver 3 navigator standard edition diff --git a/www/navigator3/pkg/DESCR b/www/navigator3/pkg/DESCR new file mode 100644 index 00000000000..e0a83b68e9a --- /dev/null +++ b/www/navigator3/pkg/DESCR @@ -0,0 +1,8 @@ +This is the netscape web-surfboard. Please read the file +"/usr/local/lib/netscape/LICENSE" for the licensing terms. + +Note: If Java applets fail to display. Type this as root: + cd /usr/X11R6/lib/X11/fonts/misc + /usr/X11R6/bin/mkfontdir + chmod 444 fonts.dir + And then exit and restart your X server. diff --git a/www/navigator3/pkg/PLIST b/www/navigator3/pkg/PLIST new file mode 100644 index 00000000000..c32a2c1f097 --- /dev/null +++ b/www/navigator3/pkg/PLIST @@ -0,0 +1,12 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 1999/07/21 23:09:02 garbled Exp $ +bin/netscape +bin/netscape.bin +bin/movemail +bin/movemail.bin +share/netscape/nls/C +share/netscape/nls/nls.dir +share/netscape/java/java_301 +share/netscape/mailcap +@dirrm share/netscape/java +@dirrm share/netscape/nls +@dirrm share/netscape diff --git a/www/navigator3/scripts/configure b/www/navigator3/scripts/configure new file mode 100644 index 00000000000..51c4239c2bc --- /dev/null +++ b/www/navigator3/scripts/configure @@ -0,0 +1,25 @@ +#!/bin/sh + +case "${MACHINE_ARCH}" in +sparc) NSBINARY=netscape_dns ;; +i386) NSBINARY=netscape ;; +*) NSBINARY=foobar ;; +esac + +if [ ! -f ${WRKSRC}/netscape.bin ] ; then + mv ${WRKSRC}/${NSBINARY} ${WRKSRC}/netscape.bin +fi +if [ ! -f ${WRKSRC}/movemail.bin ] ; then + mv ${WRKSRC}/movemail ${WRKSRC}/movemail.bin +fi + +sed -e "s;@X11BASE@;${X11BASE};g" -e "s;@LIBDIR@;${LIBDIR};g" \ + -e "s;@EXECDIR@;${X11BASE}/bin;g" \ + ${FILESDIR}/netscape.sh >${WRKSRC}/netscape +chmod +x ${WRKSRC}/netscape +sed -e "s;@X11BASE@;${X11BASE};g" -e "s;@LIBDIR@;${LIBDIR};g" \ + -e "s;@EXECDIR@;${X11BASE}/bin;g" \ + ${FILESDIR}/movemail.sh >${WRKSRC}/movemail +chmod +x ${WRKSRC}/movemail + +cp ${FILESDIR}/mailcap ${WRKSRC} |