2019-11-04 23:09:50 +01:00
|
|
|
# $NetBSD: Makefile,v 1.28 2019/11/04 22:09:57 rillig Exp $
|
2000-09-03 01:13:58 +02:00
|
|
|
#
|
|
|
|
|
2004-01-23 09:58:42 +01:00
|
|
|
DISTNAME= netscape-20040123
|
2006-09-30 00:12:51 +02:00
|
|
|
PKGREVISION= 4
|
2004-01-23 09:58:42 +01:00
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= # empty
|
|
|
|
DISTFILES= # empty
|
2001-02-17 18:21:28 +01:00
|
|
|
|
2004-01-23 09:58:42 +01:00
|
|
|
MAINTAINER= abs@NetBSD.org
|
|
|
|
COMMENT= Open new window using netscape-like browser
|
2000-09-03 01:13:58 +02:00
|
|
|
|
2004-03-15 23:33:22 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2019-11-04 23:09:50 +01:00
|
|
|
DEPENDS+= ns-remote>=1.3:../../www/ns-remote
|
|
|
|
DEPENDS+= {${NETSCAPE_PREFERRED:C/:/,/g}}-[0-9]*:../../www/${NETSCAPE_PREFERRED:C/:.*//}
|
2000-09-03 01:13:58 +02:00
|
|
|
|
2019-11-04 23:09:50 +01:00
|
|
|
NETSCAPE_PREFERRED_DEFAULT= firefox:mozilla:firefox-bin:netscape7:communicator:navigator
|
2003-05-09 13:59:40 +02:00
|
|
|
.if defined(NS_PREFERRED)
|
2019-11-04 23:09:50 +01:00
|
|
|
NETSCAPE_PREFERRED= ${NS_PREFERRED}:${NETSCAPE_PREFERRED_DEFAULT}
|
2001-07-27 16:26:18 +02:00
|
|
|
.else
|
2019-11-04 23:09:50 +01:00
|
|
|
NETSCAPE_PREFERRED= ${NETSCAPE_PREFERRED_DEFAULT}
|
2000-09-03 01:13:58 +02:00
|
|
|
.endif
|
|
|
|
|
2001-09-09 22:36:07 +02:00
|
|
|
WRKSRC= ${WRKDIR}
|
2000-09-03 01:13:58 +02:00
|
|
|
NO_CONFIGURE= yes
|
|
|
|
|
2005-06-17 05:50:19 +02:00
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
|
2002-09-20 19:00:41 +02:00
|
|
|
do-build:
|
|
|
|
${SED} "s/@NETSCAPE_PREFERRED@/${NETSCAPE_PREFERRED}/" \
|
|
|
|
${FILESDIR}/netscape > ${WRKSRC}/netscape
|
2001-07-27 16:26:18 +02:00
|
|
|
|
2002-09-20 19:00:41 +02:00
|
|
|
do-install:
|
2009-02-13 23:24:14 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/netscape ${DESTDIR}${PREFIX}/bin/netscape
|
2000-09-03 01:13:58 +02:00
|
|
|
|
2003-03-26 05:05:37 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|