From owner-freebsd-ports Sat Nov 8 18:50:06 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA08466 for ports-outgoing; Sat, 8 Nov 1997 18:50:06 -0800 (PST) (envelope-from owner-freebsd-ports) Received: (from gnats@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA08457; Sat, 8 Nov 1997 18:50:01 -0800 (PST) (envelope-from gnats) Resent-Date: Sat, 8 Nov 1997 18:50:01 -0800 (PST) Resent-Message-Id: <199711090250.SAA08457@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-ports Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, dburr@POBoxes.com Received: from DonaldBurr.dyn.ml.org (dburr@199-170-160-199.la.inreach.net [199.107.160.199]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA08195 for ; Sat, 8 Nov 1997 18:44:41 -0800 (PST) (envelope-from dburr@DonaldBurr.dyn.ml.org) Received: (from dburr@localhost) by DonaldBurr.dyn.ml.org (8.8.5/8.8.5) id SAA14609; Sat, 8 Nov 1997 18:45:52 -0800 (PST) Message-Id: <199711090245.SAA14609@DonaldBurr.dyn.ml.org> Date: Sat, 8 Nov 1997 18:45:52 -0800 (PST) From: dburr@POBoxes.com Reply-To: dburr@POBoxes.com To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: ports/4981: UPDATED PORT: www/netscape3 (Updated to version 3.04) Sender: owner-freebsd-ports@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 4981 >Category: ports >Synopsis: UPDATED PORT: www/netscape3 (Updated to version 3.04) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Nov 8 18:50:00 PST 1997 >Last-Modified: >Originator: Donald Burr >Organization: Starfleet Command >Release: FreeBSD 2.2.2-RELEASE i386 >Environment: should run on most any version of FreeBSD >Description: Updated www/netscape3 port to version 3.04 (both regular and Gold). >How-To-Repeat: >Fix: #!/bin/sh # This is a shell archive (produced by GNU sharutils 4.1.4). # To extract the files from this archive, save it to some FILE, remove # everything before the `!/bin/sh' line above, then type `sh FILE'. # # Made on 1997-11-08 18:42 PST by . # Source directory was `/usr/ports/www'. # # Existing files will *not* be overwritten unless `-c' is specified. # # This shar contains: # length mode name # ------ ---------- ------------------------------------------ # 871 -rw-r--r-- netscape3/files/Makefile # 2457 -rw-r--r-- netscape3/files/mailcap # 175 -rw-r--r-- netscape3/files/md5 # 281 -rw-r--r-- netscape3/files/netscape.sh # 46 -rw-r--r-- netscape3/pkg/COMMENT # 429 -rw-r--r-- netscape3/pkg/DESCR # 236 -rw-r--r-- netscape3/pkg/PLIST # 892 -rw-r--r-- netscape3/Makefile # 311 -rw-r--r-- netscape3/scripts/configure # touch -am 1231235999 $$.touch >/dev/null 2>&1 if test ! -f 1231235999 && test -f $$.touch; then shar_touch=touch else shar_touch=: echo echo 'WARNING: not restoring timestamps. Consider getting and' echo "installing GNU \`touch', distributed in GNU File Utilities..." echo fi rm -f 1231235999 $$.touch # # ============= netscape3/files/Makefile ============== if test ! -d 'netscape3'; then echo 'x - creating directory netscape3' mkdir 'netscape3' fi if test ! -d 'netscape3/files'; then echo 'x - creating directory netscape3/files' mkdir 'netscape3/files' fi if test -f 'netscape3/files/Makefile' && test X"$1" != X"-c"; then echo 'x - skipping netscape3/files/Makefile (file already exists)' else echo 'x - extracting netscape3/files/Makefile (text)' sed 's/^X//' << 'SHAR_EOF' > 'netscape3/files/Makefile' && # This directory is hard-coded into the netscape binary LIBDIR= /usr/local/lib/netscape X BINDIR= ${PREFIX}/bin NLSDIR= ${X11BASE}/lib/X11/nls X FILES= LICENSE README Netscape.ad java_301 X all: X @true X install: X -test -d ${LIBDIR} || mkdir -p ${LIBDIR} X -test -d ${NLSDIR} || mkdir -p ${NLSDIR} X install -c -m ${BINMODE} -o ${BINOWN} -g ${BINGRP} \ X netscape ${BINDIR} X install -c -m ${BINMODE} -o ${BINOWN} -g ${BINGRP} \ X movemail netscape.bin ${LIBDIR} X install -c -m 644 -o ${BINOWN} -g ${BINGRP} \ X ${FILES} ${LIBDIR} X if [ ! -f ${LIBDIR}/mailcap ] ; then \ X install -c -m 644 -o ${BINOWN} -g ${BINGRP} mailcap ${LIBDIR}; \ X fi X if [ ! -f ${NLSDIR}/C ] ; then \ X install -c -m 644 -o ${BINOWN} -g ${BINGRP} nls/C ${NLSDIR}; \ X fi X if [ ! -f ${NLSDIR}/nls.dir ] ; then \ X install -c -m 644 -o ${BINOWN} -g ${BINGRP} nls/nls.dir ${NLSDIR}; \ X fi SHAR_EOF $shar_touch -am 0224103297 'netscape3/files/Makefile' && chmod 0644 'netscape3/files/Makefile' || echo 'restore of netscape3/files/Makefile failed' shar_count="`wc -c < 'netscape3/files/Makefile'`" test 871 -eq "$shar_count" || echo "netscape3/files/Makefile: original size 871, current size $shar_count" fi # ============= netscape3/files/mailcap ============== if test -f 'netscape3/files/mailcap' && test X"$1" != X"-c"; then echo 'x - skipping netscape3/files/mailcap (file already exists)' else echo 'x - extracting netscape3/files/mailcap (text)' sed 's/^X//' << 'SHAR_EOF' > 'netscape3/files/mailcap' && # 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=" 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=" 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 "\" X # 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 X # plays AIFC files #audio/x-aifc; sfplay %s X # 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 X # FreeBSD /dev/audio is sun compliant audio/basic; cat %s > /dev/audio X # use this to play MPEG audio if you have maplay installed audio/x-mpeg; maplay -; stream-buffer-size=2000 X # use this to play MPEG video files if you have mpeg_play installed video/mpeg; mpeg_play -quiet %s X # All other anims go well with xanim (if installed) video/*; xanim %s > /dev/null 2>&1 X # use this to display postscript files application/postscript; ghostview %s X # use this to display pdf files application/pdf; xpdf %s 2>/dev/null X # this is the default for non GIF or JPEG images image/*; xv %s X # 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 SHAR_EOF $shar_touch -am 0530004396 'netscape3/files/mailcap' && chmod 0644 'netscape3/files/mailcap' || echo 'restore of netscape3/files/mailcap failed' shar_count="`wc -c < 'netscape3/files/mailcap'`" test 2457 -eq "$shar_count" || echo "netscape3/files/mailcap: original size 2457, current size $shar_count" fi # ============= netscape3/files/md5 ============== if test -f 'netscape3/files/md5' && test X"$1" != X"-c"; then echo 'x - skipping netscape3/files/md5 (file already exists)' else echo 'x - extracting netscape3/files/md5 (text)' sed 's/^X//' << 'SHAR_EOF' > 'netscape3/files/md5' && MD5 (netscape-v304-export.x86-unknown-bsd.tar.gz) = a08bc63c6f1a2e934045be0848c7bb09 MD5 (gold/netscape-v304-export.x86-unknown-bsd.tar.gz) = d53200dcbd0bfb1afd2e202d5736f9e0 SHAR_EOF $shar_touch -am 1108181797 'netscape3/files/md5' && chmod 0644 'netscape3/files/md5' || echo 'restore of netscape3/files/md5 failed' shar_count="`wc -c < 'netscape3/files/md5'`" test 175 -eq "$shar_count" || echo "netscape3/files/md5: original size 175, current size $shar_count" fi # ============= netscape3/files/netscape.sh ============== if test -f 'netscape3/files/netscape.sh' && test X"$1" != X"-c"; then echo 'x - skipping netscape3/files/netscape.sh (file already exists)' else echo 'x - extracting netscape3/files/netscape.sh (text)' sed 's/^X//' << 'SHAR_EOF' > 'netscape3/files/netscape.sh' && #!/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 CLASSPATH ; CLASSPATH=.:/usr/local/lib/netscape exec /usr/local/lib/netscape/netscape.bin $* SHAR_EOF $shar_touch -am 0515183896 'netscape3/files/netscape.sh' && chmod 0644 'netscape3/files/netscape.sh' || echo 'restore of netscape3/files/netscape.sh failed' shar_count="`wc -c < 'netscape3/files/netscape.sh'`" test 281 -eq "$shar_count" || echo "netscape3/files/netscape.sh: original size 281, current size $shar_count" fi # ============= netscape3/pkg/COMMENT ============== if test ! -d 'netscape3/pkg'; then echo 'x - creating directory netscape3/pkg' mkdir 'netscape3/pkg' fi if test -f 'netscape3/pkg/COMMENT' && test X"$1" != X"-c"; then echo 'x - skipping netscape3/pkg/COMMENT (file already exists)' else echo 'x - extracting netscape3/pkg/COMMENT (text)' sed 's/^X//' << 'SHAR_EOF' > 'netscape3/pkg/COMMENT' && netscape-3.03 web-surfboard (regular or gold) SHAR_EOF $shar_touch -am 1003170597 'netscape3/pkg/COMMENT' && chmod 0644 'netscape3/pkg/COMMENT' || echo 'restore of netscape3/pkg/COMMENT failed' shar_count="`wc -c < 'netscape3/pkg/COMMENT'`" test 46 -eq "$shar_count" || echo "netscape3/pkg/COMMENT: original size 46, current size $shar_count" fi # ============= netscape3/pkg/DESCR ============== if test -f 'netscape3/pkg/DESCR' && test X"$1" != X"-c"; then echo 'x - skipping netscape3/pkg/DESCR (file already exists)' else echo 'x - extracting netscape3/pkg/DESCR (text)' sed 's/^X//' << 'SHAR_EOF' > 'netscape3/pkg/DESCR' && This is the netscape web-surfboard. Please read the file "/usr/local/lib/netscape/LICENSE" for the licensing terms. X Note: If Java applets fail to display. Type this as root: X cd /usr/X11R6/lib/X11/fonts/misc X /usr/X11R6/bin/mkfontdir X chmod 444 fonts.dir X And then exit and restart your X server. X This port can install either the regular or "gold" version. For the latter, add "GOLD=yes" to your "make" command line. SHAR_EOF $shar_touch -am 1118061596 'netscape3/pkg/DESCR' && chmod 0644 'netscape3/pkg/DESCR' || echo 'restore of netscape3/pkg/DESCR failed' shar_count="`wc -c < 'netscape3/pkg/DESCR'`" test 429 -eq "$shar_count" || echo "netscape3/pkg/DESCR: original size 429, current size $shar_count" fi # ============= netscape3/pkg/PLIST ============== if test -f 'netscape3/pkg/PLIST' && test X"$1" != X"-c"; then echo 'x - skipping netscape3/pkg/PLIST (file already exists)' else echo 'x - extracting netscape3/pkg/PLIST (text)' sed 's/^X//' << 'SHAR_EOF' > 'netscape3/pkg/PLIST' && @cwd /usr/local bin/netscape lib/netscape/LICENSE lib/netscape/README lib/netscape/netscape.bin lib/netscape/mailcap lib/netscape/movemail lib/netscape/java_301 lib/netscape/Netscape.ad @cwd /usr/X11R6 lib/X11/nls/C lib/X11/nls/nls.dir SHAR_EOF $shar_touch -am 1106160396 'netscape3/pkg/PLIST' && chmod 0644 'netscape3/pkg/PLIST' || echo 'restore of netscape3/pkg/PLIST failed' shar_count="`wc -c < 'netscape3/pkg/PLIST'`" test 236 -eq "$shar_count" || echo "netscape3/pkg/PLIST: original size 236, current size $shar_count" fi # ============= netscape3/Makefile ============== if test -f 'netscape3/Makefile' && test X"$1" != X"-c"; then echo 'x - skipping netscape3/Makefile (file already exists)' else echo 'x - extracting netscape3/Makefile (text)' sed 's/^X//' << 'SHAR_EOF' > 'netscape3/Makefile' && # New ports collection makefile for: netscape # Version required: 3.04 # Date created: 8 Nov 1997 # Whom: dburr@POBoxes.com # # $Id: Makefile,v 1.17 1997/09/23 21:01:13 ache Exp $ # X DISTNAME= netscape-3.04 CATEGORIES= www X.if defined(GOLD) MASTER_SITES= ftp://ftp.netscape.com/pub/navigator/3.04/shipping/english/unix/bsdi11/navigator_gold_complete/ DIST_SUBDIR= gold X.else MASTER_SITES= ftp://ftp.netscape.com/pub/navigator/3.04/shipping/english/unix/bsdi11/navigator_complete/ X.endif DISTFILES= netscape-v304-export.x86-unknown-bsd.tar.gz X MAINTAINER= ports@FreeBSD.ORG X RESTRICTED= "Commercial software" NO_WRKSUBDIR= yes X pre-fetch: X.if !defined(GOLD) X @${ECHO_MSG} "Note you can make the \"gold\" version by typing \"make GOLD=yes\"." X.else X @${ECHO_MSG} "Making the \"gold\" version." X.endif X post-install: X @${CAT} ${PKGDIR}/DESCR X X.include SHAR_EOF $shar_touch -am 1108182197 'netscape3/Makefile' && chmod 0644 'netscape3/Makefile' || echo 'restore of netscape3/Makefile failed' shar_count="`wc -c < 'netscape3/Makefile'`" test 892 -eq "$shar_count" || echo "netscape3/Makefile: original size 892, current size $shar_count" fi # ============= netscape3/scripts/configure ============== if test ! -d 'netscape3/scripts'; then echo 'x - creating directory netscape3/scripts' mkdir 'netscape3/scripts' fi if test -f 'netscape3/scripts/configure' && test X"$1" != X"-c"; then echo 'x - skipping netscape3/scripts/configure (file already exists)' else echo 'x - extracting netscape3/scripts/configure (text)' sed 's/^X//' << 'SHAR_EOF' > 'netscape3/scripts/configure' && #!/bin/sh X if [ ! -f ${WRKSRC}/netscape.bin ] ; then X mv ${WRKSRC}/netscape ${WRKSRC}/netscape.bin fi X sed -e "s;@X11BASE@;${X11BASE};g" -e "s;@PREFIX@;${PREFIX};g" \ X ${FILESDIR}/netscape.sh >${WRKSRC}/netscape chmod +x ${WRKSRC}/netscape X cp ${FILESDIR}/Makefile ${WRKSRC} cp ${FILESDIR}/mailcap ${WRKSRC} SHAR_EOF $shar_touch -am 0329105196 'netscape3/scripts/configure' && chmod 0644 'netscape3/scripts/configure' || echo 'restore of netscape3/scripts/configure failed' shar_count="`wc -c < 'netscape3/scripts/configure'`" test 311 -eq "$shar_count" || echo "netscape3/scripts/configure: original size 311, current size $shar_count" fi exit 0 >Audit-Trail: >Unformatted: