pkgsrc/www/netscape/Makefile
jlam f79573370a Mechanical changes to 375 files to change dependency patterns of the form
foo-* to foo-[0-9]*.  This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net.  Also
change dependency examples in Packages.txt to reflect this.
2001-09-27 23:17:41 +00:00

42 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.6 2001/09/27 23:18:53 jlam Exp $
#
COMMENT= Open new communicator, navigator, or mozilla window
BINNAME= netscape
.include "../navigator/Makefile.common"
DEPENDS+= ns-remote>=1.3:../../www/ns-remote
.if defined(NS_PREFERRED) && ${NS_PREFERRED} == mozilla
DEPENDS+= {mozilla,navigator,communicator}-[0-9]*:../../www/mozilla
.else
.if defined(NS_PREFERRED) && ${NS_PREFERRED} == navigator
DEPENDS+= {navigator,communicator,mozilla}-[0-9]*:../../www/navigator
.else
DEPENDS+= {communicator,navigator,mozilla}-[0-9]*:../../www/communicator
.endif
.endif
DISTFILES= # empty
MASTER_SITES= # empty
EXTRACT_ONLY= # empty
WRKSRC= ${WRKDIR}
NO_CHECKSUM= yes
NO_PATCH= yes
NO_CONFIGURE= yes
do-install:
.if defined(NS_PREFERRED) && ${NS_PREFERRED} == mozilla
${INSTALL_SCRIPT} ${FILESDIR}/netscape_mozilla ${PREFIX}/bin/netscape
.else
.if defined(NS_PREFERRED) && ${NS_PREFERRED} == navigator
${INSTALL_SCRIPT} ${FILESDIR}/netscape_navigator ${PREFIX}/bin/netscape
.else
${LN} -sf ns-open ${PREFIX}/bin/netscape
.endif
.endif
.include "../../mk/bsd.pkg.mk"