summaryrefslogtreecommitdiff
path: root/www/netscape
diff options
context:
space:
mode:
authorabs <abs>2003-05-09 11:59:40 +0000
committerabs <abs>2003-05-09 11:59:40 +0000
commit61874ff75d8a1240ec059611e1ea277364723a0b (patch)
tree056b915995bc1fc4335c916f2cfd40f345d869af /www/netscape
parent34d7a6b1a04926555678e58da34d459feef51e79 (diff)
downloadpkgsrc-61874ff75d8a1240ec059611e1ea277364723a0b.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/netscape')
-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