diff options
author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1996-03-29 18:51:16 +0000 |
---|---|---|
committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1996-03-29 18:51:16 +0000 |
commit | 09287c1245a0e378da093f074ad58e8e2d7a699f (patch) | |
tree | 17e3faeea695930635d93f81b82f3358b314fd66 | |
parent | now provides a.out and ELF libraries. (diff) |
Bring in the new netscape 3.0b2 port (code named "atlas" apparently).
Brings JAVA support to FreeBSD (well, BSDI, but who's counting? :)
Notes
Notes:
svn path=/head/; revision=2909
Diffstat (limited to '')
-rw-r--r-- | www/netscape3/Makefile | 23 | ||||
-rw-r--r-- | www/netscape3/distinfo | 1 | ||||
-rw-r--r-- | www/netscape3/files/Makefile | 29 | ||||
-rw-r--r-- | www/netscape3/files/mailcap | 66 | ||||
-rw-r--r-- | www/netscape3/files/netscape.sh | 5 | ||||
-rw-r--r-- | www/netscape3/pkg-comment | 1 | ||||
-rw-r--r-- | www/netscape3/pkg-descr | 2 | ||||
-rw-r--r-- | www/netscape3/pkg-plist | 12 | ||||
-rw-r--r-- | www/netscape3/scripts/configure | 12 |
9 files changed, 151 insertions, 0 deletions
diff --git a/www/netscape3/Makefile b/www/netscape3/Makefile new file mode 100644 index 000000000000..c7f90e306b21 --- /dev/null +++ b/www/netscape3/Makefile @@ -0,0 +1,23 @@ +# New ports collection makefile for: netscape +# Version required: 2.0 +# Date created: 21 August 1995 +# Whom: asami +# +# $Id: Makefile,v 1.13 1996/03/17 21:52:50 adam Exp $ +# + +DISTNAME= netscape-3.0b2 +CATEGORIES+= www +MASTER_SITES= ftp://ftp.netscape.com/pub/navigator/atlas/pr1/ +DISTFILES= netscape-vAtlas_b2-export.i386-unknown-bsd.tar.gz + +MAINTAINER= jkh@FreeBSD.ORG + +NO_WRKSUBDIR= yes +# commercial package +NO_PACKAGE= yes + +post-install: + @cat ${PKGDIR}/DESCR + +.include <bsd.port.mk> diff --git a/www/netscape3/distinfo b/www/netscape3/distinfo new file mode 100644 index 000000000000..1d85240ff82b --- /dev/null +++ b/www/netscape3/distinfo @@ -0,0 +1 @@ +MD5 (netscape-vAtlas_b2-export.i386-unknown-bsd.tar.gz) = 7f5834769493773d4f10bd5886b193b0 diff --git a/www/netscape3/files/Makefile b/www/netscape3/files/Makefile new file mode 100644 index 000000000000..8b2d8e91a1d6 --- /dev/null +++ b/www/netscape3/files/Makefile @@ -0,0 +1,29 @@ +# This directory is hard-coded into the netscape binary +LIBDIR= /usr/local/lib/netscape + +BINDIR= ${PREFIX}/bin +NLSDIR= ${X11BASE}/lib/X11/nls + +FILES= LICENSE README Netscape.ad moz3_0.zip movemail + +all: + @true + +install: + -test -d ${LIBDIR} || mkdir -p ${LIBDIR} + -test -d ${NLSDIR} || mkdir -p ${NLSDIR} + install -c -m ${BINMODE} -o ${BINOWN} -g ${BINGRP} \ + netscape ${BINDIR} + install -c -m ${BINMODE} -o ${BINOWN} -g ${BINGRP} \ + netscape.bin ${LIBDIR} + install -c -m 644 -o ${BINOWN} -g ${BINGRP} \ + ${FILES} ${LIBDIR} + if [ ! -f ${LIBDIR}/mailcap ] ; then \ + install -c -m 644 -o ${BINOWN} -g ${BINGRP} mailcap ${LIBDIR}; \ + fi + if [ ! -f ${NLSDIR}/C ] ; then \ + install -c -m 644 -o ${BINOWN} -g ${BINGRP} nls/C ${NLSDIR}; \ + fi + if [ ! -f ${NLSDIR}/nls.dir ] ; then \ + install -c -m 644 -o ${BINOWN} -g ${BINGRP} nls/nls.dir ${NLSDIR}; \ + fi diff --git a/www/netscape3/files/mailcap b/www/netscape3/files/mailcap new file mode 100644 index 000000000000..673f050bcee9 --- /dev/null +++ b/www/netscape3/files/mailcap @@ -0,0 +1,66 @@ +# 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 + +# 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/netscape3/files/netscape.sh b/www/netscape3/files/netscape.sh new file mode 100644 index 000000000000..7c8e8daf215e --- /dev/null +++ b/www/netscape3/files/netscape.sh @@ -0,0 +1,5 @@ +#!/bin/sh +export XKEYSYMDB ; XKEYSYMDB=@X11BASE@/lib/X11/XKeysymDB +export XNLSPATH ; XNLSPATH=@X11BASE@/lib/X11/nls +export XAPPLRESDIR ; XAPPLRESDIR=@X11BASE@/lib/X11/app-defaults +exec /usr/local/lib/netscape/netscape.bin $* diff --git a/www/netscape3/pkg-comment b/www/netscape3/pkg-comment new file mode 100644 index 000000000000..3c4d111305b7 --- /dev/null +++ b/www/netscape3/pkg-comment @@ -0,0 +1 @@ +netscape-2 web-surfboard diff --git a/www/netscape3/pkg-descr b/www/netscape3/pkg-descr new file mode 100644 index 000000000000..83a8fd2db890 --- /dev/null +++ b/www/netscape3/pkg-descr @@ -0,0 +1,2 @@ +This is the netscape web-surfboard. Please read the file +"/usr/local/lib/netscape/LICENSE" for the licensing terms. diff --git a/www/netscape3/pkg-plist b/www/netscape3/pkg-plist new file mode 100644 index 000000000000..b6da790431ff --- /dev/null +++ b/www/netscape3/pkg-plist @@ -0,0 +1,12 @@ +@cwd /usr/local +bin/netscape +lib/netscape/LICENSE +lib/netscape/README +lib/netscape/netscape.bin +lib/netscape/mailcap +lib/netscape/movemail +lib/netscape/moz3_0.zip +lib/netscape/Netscape.ad +@cwd /usr/X11R6 +lib/X11/nls/C +lib/X11/nls/nls.dir diff --git a/www/netscape3/scripts/configure b/www/netscape3/scripts/configure new file mode 100644 index 000000000000..6dae4b2441f1 --- /dev/null +++ b/www/netscape3/scripts/configure @@ -0,0 +1,12 @@ +#!/bin/sh + +if [ ! -f ${WRKSRC}/netscape.bin ] ; then + mv ${WRKSRC}/netscape ${WRKSRC}/netscape.bin +fi + +sed -e "s;@X11BASE@;${X11BASE};g" -e "s;@PREFIX@;${PREFIX};g" \ + ${FILESDIR}/netscape.sh >${WRKSRC}/netscape +chmod +x ${WRKSRC}/netscape + +cp ${FILESDIR}/Makefile ${WRKSRC} +cp ${FILESDIR}/mailcap ${WRKSRC} |