diff options
author | agc <agc@pkgsrc.org> | 2001-10-26 14:09:59 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2001-10-26 14:09:59 +0000 |
commit | d52dd5005a19d883c718553fa7ad3116889f3246 (patch) | |
tree | b205911a0374704e6a0378d88ec3a73be474ef3f /www | |
parent | 9f28ffc95eb2a823929bb7a8d76e25aeff7c9805 (diff) | |
download | pkgsrc-d52dd5005a19d883c718553fa7ad3116889f3246.tar.gz |
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.
Diffstat (limited to 'www')
-rw-r--r-- | www/navigator3/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/www/navigator3/Makefile b/www/navigator3/Makefile index fc9bb25e9dc..a088518e748 100644 --- a/www/navigator3/Makefile +++ b/www/navigator3/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2001/09/14 04:00:25 jlam Exp $ +# $NetBSD: Makefile,v 1.7 2001/10/26 14:10:01 agc Exp $ DISTNAME= netscape-v304-export.x86-unknown-bsd PKGNAME= navigator3-3.04 @@ -22,6 +22,9 @@ 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 |