37 lines
945 B
Makefile
37 lines
945 B
Makefile
# $NetBSD: Makefile,v 1.27 2012/10/28 06:30:23 asau Exp $
|
|
#
|
|
|
|
DISTNAME= netscape-20040123
|
|
PKGREVISION= 4
|
|
CATEGORIES= www
|
|
MASTER_SITES= # empty
|
|
DISTFILES= # empty
|
|
|
|
MAINTAINER= abs@NetBSD.org
|
|
COMMENT= Open new window using netscape-like browser
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
DEPENDS+= ns-remote>=1.3:../../www/ns-remote
|
|
DEPENDS+={${NETSCAPE_PREFERRED:C/:/,/g}}-[0-9]*:../../www/${NETSCAPE_PREFERRED:C/:.*//}
|
|
|
|
NETSCAPE_PREFERRED_DEFAULT=firefox:mozilla:firefox-bin:netscape7:communicator:navigator
|
|
.if defined(NS_PREFERRED)
|
|
NETSCAPE_PREFERRED=${NS_PREFERRED}:${NETSCAPE_PREFERRED_DEFAULT}
|
|
.else
|
|
NETSCAPE_PREFERRED=${NETSCAPE_PREFERRED_DEFAULT}
|
|
.endif
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
NO_CONFIGURE= yes
|
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
do-build:
|
|
${SED} "s/@NETSCAPE_PREFERRED@/${NETSCAPE_PREFERRED}/" \
|
|
${FILESDIR}/netscape > ${WRKSRC}/netscape
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/netscape ${DESTDIR}${PREFIX}/bin/netscape
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|