summaryrefslogtreecommitdiff
path: root/www/netscape/Makefile
blob: 4e7486658c78c7d850c572cd1700faaefa2064b5 (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
# $NetBSD: Makefile,v 1.13 2003/05/09 11:59:40 abs Exp $
#

COMMENT=	Open new window using netscape like browser

BINNAME=	netscape

.include "../navigator/Makefile.common"

NETSCAPE_PREFERRED_DEFAULT=netscape7:communicator:navigator:phoenix-bin:phoenix:mozilla
.if defined(NS_PREFERRED)
NETSCAPE_PREFERRED=${NS_PREFERRED}:${NETSCAPE_PREFERRED_DEFAULT}
.else
NETSCAPE_PREFERRED=${NETSCAPE_PREFERRED_DEFAULT}
.endif

DEPENDS+= ns-remote>=1.3:../../www/ns-remote
DEPENDS+={${NETSCAPE_PREFERRED:C/:/,/g}}-[0-9]*:../../www/${NETSCAPE_PREFERRED:C/:.*//}

DISTFILES=	# empty
MASTER_SITES=	# empty

USE_BUILDLINK2=	# defined

WRKSRC=		${WRKDIR}
NO_CHECKSUM=	yes
NO_CONFIGURE=	yes

do-build:
	${SED} "s/@NETSCAPE_PREFERRED@/${NETSCAPE_PREFERRED}/" \
				${FILESDIR}/netscape > ${WRKSRC}/netscape

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/netscape ${PREFIX}/bin/netscape

.include "../../emulators/suse_linux/Makefile.application"
.include "../../mk/bsd.pkg.mk"