pkgsrc/www/navigator3/Makefile
agc d52dd5005a At present, if there is a pre-<target> or post-<target> script in
the scripts/ directory, it will be run automatically as part of
the build process, by bsd.pkg.mk.  There are now exactly 5 packages
in pkgsrc which use this facility, and yet, for every package build,
the existence of a script is checked by bsd.pkg.mk once before the
target is executed, and once afterwards. This incurs needless
overhead.

Move the separate pre- and post- script handling out of bsd.pkg.mk into
the individual package Makefiles, where it's much more obvious what is
happening, anyway.
2001-10-26 14:09:59 +00:00

41 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.7 2001/10/26 14:10:01 agc Exp $
DISTNAME= netscape-v304-export.x86-unknown-bsd
PKGNAME= navigator3-3.04
CATEGORIES= www
MASTER_SITES= ftp://archive:oldies@archive.netscape.com/archive/navigator/3.04/shipping/english/unix/bsdi11/navigator_complete/
MAINTAINER= root@garbled.net
HOMEPAGE= http://www.netscape.com
COMMENT= netscape ver 3 navigator standard edition
ONLY_FOR_PLATFORM= *-*-i386
RESTRICTED= Licensed product
NO_SRC_ON_FTP= ${RESTRICTED}
NO_SRC_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
NO_BIN_ON_CDROM= ${RESTRICTED}
WRKSRC= ${WRKDIR}
USE_X11BASE= YES
SCRIPTS_ENV+= MACHINE_ARCH=${MACHINE_ARCH}
NO_BUILD= YES
pre-configure:
cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/netscape
${INSTALL_DATA_DIR} ${PREFIX}/share/netscape/nls
${INSTALL_DATA_DIR} ${PREFIX}/share/netscape/java
${INSTALL_SCRIPT} ${WRKSRC}/netscape3 ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/netscape3.bin ${PREFIX}/bin # XXX
${INSTALL_SCRIPT} ${WRKSRC}/movemail ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/movemail.bin ${PREFIX}/bin # XXX
${INSTALL_DATA} ${WRKSRC}/nls/C ${PREFIX}/share/netscape/nls
${INSTALL_DATA} ${WRKSRC}/nls/nls.dir ${PREFIX}/share/netscape/nls
${INSTALL_DATA} ${WRKSRC}/java_301 ${PREFIX}/share/netscape/java
${INSTALL_DATA} ${WRKSRC}/mailcap ${PREFIX}/share/netscape
.include "../../mk/bsd.pkg.mk"