summaryrefslogtreecommitdiffstats
path: root/www/netscape3/files
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-03-29 18:51:16 +0000
committerjkh <jkh@FreeBSD.org>1996-03-29 18:51:16 +0000
commit25bf89394980ed6d8d8c08630e19a4a87aa242b2 (patch)
treeb74b158513c39dd8ea1bb2225515c713bb71da48 /www/netscape3/files
parent7ab26206346f7783437034a85bcbdf39b9be133d (diff)
downloadFreeBSD-ports-25bf89394980ed6d8d8c08630e19a4a87aa242b2.zip
FreeBSD-ports-25bf89394980ed6d8d8c08630e19a4a87aa242b2.tar.gz
Bring in the new netscape 3.0b2 port (code named "atlas" apparently).
Brings JAVA support to FreeBSD (well, BSDI, but who's counting? :)
Diffstat (limited to 'www/netscape3/files')
-rw-r--r--www/netscape3/files/Makefile29
-rw-r--r--www/netscape3/files/mailcap66
-rw-r--r--www/netscape3/files/netscape.sh5
3 files changed, 100 insertions, 0 deletions
diff --git a/www/netscape3/files/Makefile b/www/netscape3/files/Makefile
new file mode 100644
index 0000000..8b2d8e9
--- /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 0000000..673f050
--- /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 0000000..7c8e8da
--- /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 $*
OpenPOWER on IntegriCloud