summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2003-05-09 11:59:40 +0000
committerabs <abs@pkgsrc.org>2003-05-09 11:59:40 +0000
commit8109d94bf086fe9d7579e54041da73941f884093 (patch)
tree056b915995bc1fc4335c916f2cfd40f345d869af /www
parentaaa25f9bc4f36de2e368956fb1644449455c56d9 (diff)
downloadpkgsrc-8109d94bf086fe9d7579e54041da73941f884093.tar.gz
Explicitly handle phoenix & phoenix-bin, plus any www package the user chooses.
This is an awkward package as it takes its version from the browser on which it depends. Thoughts welcomed.
Diffstat (limited to 'www')
-rw-r--r--www/netscape/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/www/netscape/Makefile b/www/netscape/Makefile
index 023b0a899f3..4e7486658c7 100644
--- a/www/netscape/Makefile
+++ b/www/netscape/Makefile
@@ -1,20 +1,17 @@
-# $NetBSD: Makefile,v 1.12 2003/03/28 21:14:39 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2003/05/09 11:59:40 abs Exp $
#
-COMMENT= Open new communicator, navigator, or mozilla window
+COMMENT= Open new window using netscape like browser
BINNAME= netscape
.include "../navigator/Makefile.common"
-.if defined(NS_PREFERRED) && ${NS_PREFERRED} == mozilla
-NETSCAPE_PREFERRED=mozilla:navigator:communicator:netscape7
-.elif defined(NS_PREFERRED) && ${NS_PREFERRED} == netscape7
-NETSCAPE_PREFERRED=netscape7:navigator:communicator:mozilla
-.elif defined(NS_PREFERRED) && ${NS_PREFERRED} == navigator
-NETSCAPE_PREFERRED=navigator:communicator:mozilla:netscape7
+NETSCAPE_PREFERRED_DEFAULT=netscape7:communicator:navigator:phoenix-bin:phoenix:mozilla
+.if defined(NS_PREFERRED)
+NETSCAPE_PREFERRED=${NS_PREFERRED}:${NETSCAPE_PREFERRED_DEFAULT}
.else
-NETSCAPE_PREFERRED=communicator:navigator:mozilla:netscape7
+NETSCAPE_PREFERRED=${NETSCAPE_PREFERRED_DEFAULT}
.endif
DEPENDS+= ns-remote>=1.3:../../www/ns-remote