pkgsrc/www/netscape/Makefile
agc a16fc84f19 Deprecate NO_WRKSUBDIR, replacing it with an explicit assignment of:
WRKSRC= ${WRKDIR}

This is much cleaner, much more indicative of what happens, and removes
another of the negative definitions (NO_.* = value).
2001-09-09 20:36:07 +00:00

42 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.5 2001/09/09 20:36:53 agc 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}-*:../../www/mozilla
.else
.if defined(NS_PREFERRED) && ${NS_PREFERRED} == navigator
DEPENDS+= {navigator,communicator,mozilla}-*:../../www/navigator
.else
DEPENDS+= {communicator,navigator,mozilla}-*:../../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"