a16fc84f19
WRKSRC= ${WRKDIR} This is much cleaner, much more indicative of what happens, and removes another of the negative definitions (NO_.* = value).
42 lines
1 KiB
Makefile
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"
|