summaryrefslogtreecommitdiff
path: root/www/netscape/Makefile
blob: 497118958fcb838f53910fc2dc7e2b12bcaf4503 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# $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"