diff options
Diffstat (limited to 'www')
-rw-r--r-- | www/netscape/Makefile | 31 | ||||
-rw-r--r-- | www/netscape/files/md5 | 2 | ||||
-rw-r--r-- | www/netscape/files/netscape_navigator | 9 | ||||
-rw-r--r-- | www/netscape/pkg/COMMENT | 1 | ||||
-rw-r--r-- | www/netscape/pkg/DESCR | 3 | ||||
-rw-r--r-- | www/netscape/pkg/PLIST | 2 |
6 files changed, 48 insertions, 0 deletions
diff --git a/www/netscape/Makefile b/www/netscape/Makefile new file mode 100644 index 00000000000..5465cd34513 --- /dev/null +++ b/www/netscape/Makefile @@ -0,0 +1,31 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/09/02 23:13:58 abs Exp $ +# + +BINNAME= netscape + +.include "../navigator/Makefile.common" + +DEPENDS+= ns-remote>=1.3:../../www/ns-remote +.if defined(NS_NAVIGATOR) && ${NS_NAVIGATOR} == YES +DEPENDS+= {navigator,communicator}*:../../www/navigator +.else +DEPENDS+= {communicator,navigator}*:../../www/communicator +.endif + +DISTFILES= # empty +MASTER_SITES= # empty + +EXTRACT_ONLY= # empty +NO_WRKSUBDIR= yes +NO_CHECKSUM= yes +NO_PATCH= yes +NO_CONFIGURE= yes + +do-install: +.if defined(NS_NAVIGATOR) && ${NS_NAVIGATOR} == YES + ${INSTALL_SCRIPT} ${FILESDIR}/netscape_navigator ${PREFIX}/bin/netscape +.else + ${LN} -sf ns-open ${PREFIX}/bin/netscape +.endif + +.include "../../mk/bsd.pkg.mk" diff --git a/www/netscape/files/md5 b/www/netscape/files/md5 new file mode 100644 index 00000000000..dce6b421a9a --- /dev/null +++ b/www/netscape/files/md5 @@ -0,0 +1,2 @@ +$NetBSD: md5,v 1.1.1.1 2000/09/02 23:13:58 abs Exp $ + diff --git a/www/netscape/files/netscape_navigator b/www/netscape/files/netscape_navigator new file mode 100644 index 00000000000..281aba3ea39 --- /dev/null +++ b/www/netscape/files/netscape_navigator @@ -0,0 +1,9 @@ +#!/bin/sh +# $NetBSD: netscape_navigator,v 1.1.1.1 2000/09/02 23:13:58 abs Exp $ + +# Simple script used if NS_NAVIGATOR is set when netscape installed + +if [ -z "$NETSCAPE_PREFERRED" ]; then + NETSCAPE_PREFERRED=navigator:communicator +fi +exec ns-open $@ diff --git a/www/netscape/pkg/COMMENT b/www/netscape/pkg/COMMENT new file mode 100644 index 00000000000..58807455103 --- /dev/null +++ b/www/netscape/pkg/COMMENT @@ -0,0 +1 @@ +Open new communicator or navigator window diff --git a/www/netscape/pkg/DESCR b/www/netscape/pkg/DESCR new file mode 100644 index 00000000000..921088f0e3f --- /dev/null +++ b/www/netscape/pkg/DESCR @@ -0,0 +1,3 @@ +If Navigator or Communicator are already running 'netscape' will use +'ns-open' (part of ns-remote) to open a new netscape window, otherwise +it starts a new process. diff --git a/www/netscape/pkg/PLIST b/www/netscape/pkg/PLIST new file mode 100644 index 00000000000..a2b93068a0c --- /dev/null +++ b/www/netscape/pkg/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2000/09/02 23:13:58 abs Exp $ +bin/netscape |