summaryrefslogtreecommitdiff
path: root/www/linux-netscape4
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1997-07-03 01:06:26 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1997-07-03 01:06:26 +0000
commit985e1a2c32de271f14cc2c07c42ad879ccbafe35 (patch)
treef3bc4792518daa327c419a5cae5762bac18f9245 /www/linux-netscape4
parentAdd fake @cwd /usr/local to not allow pkg_create to remove next (diff)
Linux port because BSDI one cause division by zero
Notes
Notes: svn path=/head/; revision=7200
Diffstat (limited to 'www/linux-netscape4')
-rw-r--r--www/linux-netscape4/Makefile48
-rw-r--r--www/linux-netscape4/distinfo1
-rw-r--r--www/linux-netscape4/files/mailcap69
-rw-r--r--www/linux-netscape4/files/netscape.sh7
-rw-r--r--www/linux-netscape4/files/patch-aa41
-rw-r--r--www/linux-netscape4/pkg-comment1
-rw-r--r--www/linux-netscape4/pkg-descr2
-rw-r--r--www/linux-netscape4/pkg-plist121
-rw-r--r--www/linux-netscape4/scripts/configure6
9 files changed, 296 insertions, 0 deletions
diff --git a/www/linux-netscape4/Makefile b/www/linux-netscape4/Makefile
new file mode 100644
index 000000000000..c60b30b0de03
--- /dev/null
+++ b/www/linux-netscape4/Makefile
@@ -0,0 +1,48 @@
+# New ports collection makefile for: linux-netscape4
+# Version required: 4.01b6
+# Date created: 24 Feb 1997
+# Whom: ache
+#
+# $Id: Makefile,v 1.3 1997/06/01 00:06:17 ache Exp $
+#
+
+DISTNAME= linux-netscape-4.01b6
+CATEGORIES= www
+MASTER_SITES= ftp://ftp.netscape.com/pub/communicator/4.01/4.01b6/english/unix/other/
+DISTFILES= communicator-v401b6-export.x86-unknown-linux1.2.tar.gz
+NO_WRKSUBDIR= Yes
+NO_BUILD= Yes
+
+RUN_DEPENDS= /compat/linux/lib/ld.so:${PORTSDIR}/emulators/linux_lib
+BUILD_DEPENDS= /compat/linux/lib/ld.so:${PORTSDIR}/emulators/linux_lib
+
+NDIR= ${PREFIX}/lib/netscape
+NLSDIR= ${X11BASE}/lib/X11/nls
+BINDIR= ${PREFIX}/bin
+
+MAINTAINER= ache@FreeBSD.ORG
+
+RESTRICTED= "Commercial software"
+
+do-install:
+ cd ${WRKSRC} && yes "" | \
+ LC_TIME=C MOZILLA_HOME="${NDIR}" ./ns-install
+ mv ${NDIR}/netscape ${NDIR}/netscape.bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/netscape ${BINDIR}
+ if [ ! -f ${NDIR}/mailcap ] ; then \
+ ${INSTALL_DATA} ${FILESDIR}/mailcap ${NDIR}; \
+ fi
+ -test -d ${NLSDIR} || mkdir -p ${NLSDIR}
+ if [ ! -f ${NLSDIR}/C ] ; then \
+ ${INSTALL_DATA} ${NDIR}/nls/C ${NLSDIR}; \
+ fi
+ if [ ! -f ${NLSDIR}/nls.dir ] ; then \
+ ${INSTALL_DATA} ${NDIR}/nls/nls.dir ${NLSDIR}; \
+ fi
+ rm -rf ${NDIR}/nls ${NDIR}/movemail-src ${NDIR}/XKeysymDB
+ chown -R bin.bin ${NDIR}
+
+post-install:
+ @${CAT} ${PKGDIR}/DESCR
+
+.include <bsd.port.mk>
diff --git a/www/linux-netscape4/distinfo b/www/linux-netscape4/distinfo
new file mode 100644
index 000000000000..2f5027e2f64b
--- /dev/null
+++ b/www/linux-netscape4/distinfo
@@ -0,0 +1 @@
+MD5 (communicator-v401b6-export.x86-unknown-linux1.2.tar.gz) = 72d7a603b476204d5099fbc005b75fce
diff --git a/www/linux-netscape4/files/mailcap b/www/linux-netscape4/files/mailcap
new file mode 100644
index 000000000000..61daeb5db716
--- /dev/null
+++ b/www/linux-netscape4/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/linux-netscape4/files/netscape.sh b/www/linux-netscape4/files/netscape.sh
new file mode 100644
index 000000000000..2727d14171e5
--- /dev/null
+++ b/www/linux-netscape4/files/netscape.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+export XKEYSYMDB ; XKEYSYMDB=@X11BASE@/lib/X11/XKeysymDB
+export XNLSPATH ; XNLSPATH=@X11BASE@/lib/X11/nls
+export XAPPLRESDIR ; XAPPLRESDIR=@X11BASE@/lib/X11/app-defaults
+export MOZILLA_HOME; MOZILLA_HOME=${MOZILLA_HOME:=@PREFIX@/lib/netscape}
+export CLASSPATH ; CLASSPATH=.:$MOZILLA_HOME
+exec $MOZILLA_HOME/netscape.bin $*
diff --git a/www/linux-netscape4/files/patch-aa b/www/linux-netscape4/files/patch-aa
new file mode 100644
index 000000000000..97f879710421
--- /dev/null
+++ b/www/linux-netscape4/files/patch-aa
@@ -0,0 +1,41 @@
+*** ns-install.orig Tue Jul 1 23:22:18 1997
+--- ns-install Wed Jul 2 22:55:02 1997
+***************
+*** 103,108 ****
+--- 103,109 ----
+ # Even though the user has already used gzip to extract the file (or
+ # we wouldn't be here), make sure we can find it.
+ #
++ unset GZIP
+ GZIP="gzip"
+ flag=1
+ while test ${flag} -eq 1
+***************
+*** 264,276 ****
+ # Is this a virgin install? If so, create the .netscape dir
+ # and put the default bookmark file in it.
+ #
+! if test ! -d ${HOME}/.netscape
+! then
+! # New install, or upgrade from 0.x or 1.x.
+! mkdir ${HOME}/.netscape
+! cp ${TARGET}/bookmark.htm ${HOME}/.netscape/bookmarks.html
+! echo "${HOME}/.netscape/bookmarks.html" >> ${LOGFILE}
+! fi
+ fi
+
+ echo ""
+--- 265,277 ----
+ # Is this a virgin install? If so, create the .netscape dir
+ # and put the default bookmark file in it.
+ #
+! # if test ! -d ${HOME}/.netscape
+! # then
+! # # New install, or upgrade from 0.x or 1.x.
+! # mkdir ${HOME}/.netscape
+! # cp ${TARGET}/bookmark.htm ${HOME}/.netscape/bookmarks.html
+! # echo "${HOME}/.netscape/bookmarks.html" >> ${LOGFILE}
+! # fi
+ fi
+
+ echo ""
diff --git a/www/linux-netscape4/pkg-comment b/www/linux-netscape4/pkg-comment
new file mode 100644
index 000000000000..54c86d664507
--- /dev/null
+++ b/www/linux-netscape4/pkg-comment
@@ -0,0 +1 @@
+netscape web-surfboard
diff --git a/www/linux-netscape4/pkg-descr b/www/linux-netscape4/pkg-descr
new file mode 100644
index 000000000000..83a8fd2db890
--- /dev/null
+++ b/www/linux-netscape4/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/linux-netscape4/pkg-plist b/www/linux-netscape4/pkg-plist
new file mode 100644
index 000000000000..2e83b71918ff
--- /dev/null
+++ b/www/linux-netscape4/pkg-plist
@@ -0,0 +1,121 @@
+@cwd /usr/local
+bin/netscape
+lib/netscape/LICENSE
+lib/netscape/README
+lib/netscape/netscape.bin
+lib/netscape/mailcap
+lib/netscape/movemail
+lib/netscape/bookmark.htm
+lib/netscape/vreg
+lib/netscape/registry
+lib/netscape/Netscape.ad
+lib/netscape/moz40p3
+lib/netscape/java/classes/ifc11.jar
+lib/netscape/java/classes/iiop10.jar
+lib/netscape/java/classes/jae40.jar
+lib/netscape/java/classes/java40.jar
+lib/netscape/java/classes/jio40.jar
+lib/netscape/java/classes/jsd10.jar
+lib/netscape/nethelp/Back_dep.gif
+lib/netscape/nethelp/Back_dis.gif
+lib/netscape/nethelp/Back_sel.gif
+lib/netscape/nethelp/Back_up.gif
+lib/netscape/nethelp/Exit_dep.gif
+lib/netscape/nethelp/Exit_sel.gif
+lib/netscape/nethelp/Exit_up.gif
+lib/netscape/nethelp/Forw_dep.gif
+lib/netscape/nethelp/Forw_dis.gif
+lib/netscape/nethelp/Forw_sel.gif
+lib/netscape/nethelp/Forw_up.gif
+lib/netscape/nethelp/Prnt_dep.gif
+lib/netscape/nethelp/Prnt_sel.gif
+lib/netscape/nethelp/Prnt_up.gif
+lib/netscape/nethelp/Tool_dep.gif
+lib/netscape/nethelp/Tool_sel.gif
+lib/netscape/nethelp/Tool_up.gif
+lib/netscape/nethelp/Wait.gif
+lib/netscape/nethelp/Blank.htm
+lib/netscape/nethelp/CntTool.htm
+lib/netscape/nethelp/IdxFill.htm
+lib/netscape/nethelp/IdxKey.htm
+lib/netscape/nethelp/IdxTool.htm
+lib/netscape/nethelp/IdxTopic.htm
+lib/netscape/nethelp/NSHIfrm.htm
+lib/netscape/nethelp/NavUI.htm
+lib/netscape/nethelp/NoJSerr.htm
+lib/netscape/nethelp/Status.htm
+lib/netscape/nethelp/System.htm
+lib/netscape/nethelp/ToolUI.htm
+lib/netscape/nethelp/Button.js
+lib/netscape/nethelp/CntData.js
+lib/netscape/nethelp/CntTool.js
+lib/netscape/nethelp/Header.js
+lib/netscape/nethelp/IdxData.js
+lib/netscape/nethelp/Local-1.js
+lib/netscape/nethelp/Stack.js
+lib/netscape/nethelp/System.js
+lib/netscape/nethelp/Topic.js
+lib/netscape/nethelp/Utility.js
+lib/netscape/nethelp/netscape/collabra/collabra.gif
+lib/netscape/nethelp/netscape/collabra/discgrps.gif
+lib/netscape/nethelp/netscape/collabra/coll.htm
+lib/netscape/nethelp/netscape/collabra/collHdr.htm
+lib/netscape/nethelp/netscape/collabra/help.hpf
+lib/netscape/nethelp/netscape/composer/composer.gif
+lib/netscape/nethelp/netscape/composer/comtlbr2.gif
+lib/netscape/nethelp/netscape/composer/fmtlbr3.gif
+lib/netscape/nethelp/netscape/composer/tagicon2.gif
+lib/netscape/nethelp/netscape/composer/comp.htm
+lib/netscape/nethelp/netscape/composer/compHdr.htm
+lib/netscape/nethelp/netscape/composer/help.hpf
+lib/netscape/nethelp/netscape/confernc/brws2.gif
+lib/netscape/nethelp/netscape/confernc/chat2.gif
+lib/netscape/nethelp/netscape/confernc/circle2.gif
+lib/netscape/nethelp/netscape/confernc/confernc.gif
+lib/netscape/nethelp/netscape/confernc/eraser2.gif
+lib/netscape/nethelp/netscape/confernc/fhndtl2.gif
+lib/netscape/nethelp/netscape/confernc/filex2.gif
+lib/netscape/nethelp/netscape/confernc/horline2.gif
+lib/netscape/nethelp/netscape/confernc/line2.gif
+lib/netscape/nethelp/netscape/confernc/pointer2.gif
+lib/netscape/nethelp/netscape/confernc/rect2.gif
+lib/netscape/nethelp/netscape/confernc/txttool2.gif
+lib/netscape/nethelp/netscape/confernc/whtbd2.gif
+lib/netscape/nethelp/netscape/confernc/conf.htm
+lib/netscape/nethelp/netscape/confernc/confHdr.htm
+lib/netscape/nethelp/netscape/confernc/help.hpf
+lib/netscape/nethelp/netscape/home/home.gif
+lib/netscape/nethelp/netscape/home/home.htm
+lib/netscape/nethelp/netscape/home/homeHdr.htm
+lib/netscape/nethelp/netscape/home/help.hpf
+lib/netscape/nethelp/netscape/messengr/mailbox.gif
+lib/netscape/nethelp/netscape/messengr/messengr.gif
+lib/netscape/nethelp/netscape/messengr/mpctrl.gif
+lib/netscape/nethelp/netscape/messengr/mess.htm
+lib/netscape/nethelp/netscape/messengr/messHdr.htm
+lib/netscape/nethelp/netscape/messengr/help.hpf
+lib/netscape/nethelp/netscape/navigatr/navigatr.gif
+lib/netscape/nethelp/netscape/navigatr/nav.htm
+lib/netscape/nethelp/netscape/navigatr/navHdr.htm
+lib/netscape/nethelp/netscape/navigatr/help.hpf
+lib/netscape/nethelp/netscape/netcastr/netcastr.gif
+lib/netscape/nethelp/netscape/netcastr/net.htm
+lib/netscape/nethelp/netscape/netcastr/netHdr.htm
+lib/netscape/nethelp/netscape/netcastr/help.hpf
+lib/netscape/nethelp/netscape/shared/admnIcon.gif
+lib/netscape/nethelp/netscape/shared/calIcon.gif
+lib/netscape/nethelp/netscape/shared/collIcon.gif
+lib/netscape/nethelp/netscape/shared/commIcon.gif
+lib/netscape/nethelp/netscape/shared/compIcon.gif
+lib/netscape/nethelp/netscape/shared/confIcon.gif
+lib/netscape/nethelp/netscape/shared/ibmIcon.gif
+lib/netscape/nethelp/netscape/shared/messIcon.gif
+lib/netscape/nethelp/netscape/shared/navIcon.gif
+lib/netscape/nethelp/netscape/shared/netIcon.gif
+lib/netscape/nethelp/netscape/shared/Contents.htm
+lib/netscape/nethelp/netscape/shared/NetHelp1.css
+lib/netscape/spell/netscape.dic
+lib/netscape/spell/pen4s324.dat
+@cwd /usr/X11R6
+lib/X11/nls/C
+lib/X11/nls/nls.dir
diff --git a/www/linux-netscape4/scripts/configure b/www/linux-netscape4/scripts/configure
new file mode 100644
index 000000000000..8c5c89e4af0e
--- /dev/null
+++ b/www/linux-netscape4/scripts/configure
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+sed -e "s;@X11BASE@;${X11BASE};g" -e "s;@PREFIX@;${PREFIX};g" \
+ ${FILESDIR}/netscape.sh >${WRKSRC}/netscape
+chmod +x ${WRKSRC}/netscape
+