summaryrefslogtreecommitdiff
path: root/www/ns-remote
diff options
context:
space:
mode:
authorabs <abs>2002-09-20 11:26:51 +0000
committerabs <abs>2002-09-20 11:26:51 +0000
commitba156fadcfe766387a893978f5b9d2202ff38518 (patch)
tree165d959b22a55359e3437c78b4ab8f50895dfa4c /www/ns-remote
parent9de3f3716dc6548fa7a4b0aa7d074db6570938b5 (diff)
downloadpkgsrc-ba156fadcfe766387a893978f5b9d2202ff38518.tar.gz
Update to 1.7
'Support' netscape7 Fix multiple entry NETSCAPE_PREFERRED logic
Diffstat (limited to 'www/ns-remote')
-rw-r--r--www/ns-remote/Makefile4
-rwxr-xr-xwww/ns-remote/files/ns-open12
2 files changed, 8 insertions, 8 deletions
diff --git a/www/ns-remote/Makefile b/www/ns-remote/Makefile
index 4b9ffe77d72..603c9976157 100644
--- a/www/ns-remote/Makefile
+++ b/www/ns-remote/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.13 2002/08/25 21:52:18 jlam Exp $
+# $NetBSD: Makefile,v 1.14 2002/09/20 11:26:51 abs Exp $
DISTNAME= ns-remote
-PKGNAME= ns-remote-1.6
+PKGNAME= ns-remote-1.7
CATEGORIES= www
MASTER_SITES= http://home.netscape.com/newsref/std/
DISTFILES= remote.c vroot.h
diff --git a/www/ns-remote/files/ns-open b/www/ns-remote/files/ns-open
index 8b2fdc1bba6..c17e96f845b 100755
--- a/www/ns-remote/files/ns-open
+++ b/www/ns-remote/files/ns-open
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: ns-open,v 1.8 2002/03/26 22:43:46 abs Exp $
+# $NetBSD: ns-open,v 1.9 2002/09/20 11:26:52 abs Exp $
#
# Simple script to open a URL in Netscape, starting a new process if necessary
# If a netscape process is not running it will look for a valid netscape
@@ -8,7 +8,7 @@
# overridden by the user in the environment.
if [ -z "$NETSCAPE_PREFERRED" ]; then
- NETSCAPE_PREFERRED=communicator:navigator:mozilla
+ NETSCAPE_PREFERRED=netscape7:communicator:navigator:mozilla
fi
# Locate appropriate netscape binary and set NETSCAPE_BIN
@@ -21,13 +21,13 @@ for prog in $NETSCAPE_PREFERRED ; do
case $prog in
/*) if [ -x $prog ]; then
NETSCAPE_BIN=$prog
- break
+ break 2
fi
;;
*) for dir in $PATH;do
if [ -x $dir/$prog ];then
NETSCAPE_BIN=$dir/$prog
- break
+ break 2
fi
done
;;
@@ -88,12 +88,12 @@ if [ -z "$START_NEW_NETSCAPE" ];then
exit 0
fi
else
- echo "Netscape not running. Spawning new browser in the background." >&2
+ echo "Netscape not running. Spawning $NETSCAPE_BIN in background." >&2
fi
fi
if [ -z "$NETSCAPE_BIN" ];then
- echo "Unable to locate netscape binary '$NETSCAPE_PREFERRED'"
+ echo "Unable to locate netscape binary for '$NETSCAPE_PREFERRED'"
exit 1
fi
case $1 in