pkgsrc/devel/bmake/Makefile
sjg ce4c2a6e12 Update bmake and mk-files.
bmake is sync'd with -current make as of 2004-02-20
Fixes include:
o fix for old :M parsing bug.
o re-jigged unit-tests
o search upwards for *.mk
o fix for double free of var substitution buffers
o use of getopt replaced with custom code, since the usage
  (re-scanning) isn't posix compatible.
* arch.c: don't include ranlib.h on ELF systems

mk-files adds dpadd.mk (cool magic driven by DPADD)
and a re-worked warnings.mk (very cool).
Also fixes:
* own.mk: don't use NetBSD's _SRC_TOP_ it can
  cause confusion.  Also don't take just 'mk' as a
  srctop indicator.
* Generic.sys.mk: need to use ${.PARSEDIR} with exists().
2004-02-21 00:15:44 +00:00

29 lines
867 B
Makefile

# $NetBSD: Makefile,v 1.19 2004/02/21 00:15:44 sjg Exp $
#
DISTNAME= bmake-20040220
CATEGORIES= devel
MASTER_SITES= ftp://ftp.NetBSD.org/pub/incoming/sjg/
MAINTAINER= sjg@NetBSD.org
HOMEPAGE= http://www.crufty.net/help/sjg/bmake.html
COMMENT= Portable (autoconf) version of NetBSD 'make' utility
DEPENDS+= mk-files>=20030714:../../devel/mk-files
ONLY_FOR_PLATFORM= NetBSD-*-*
WRKSRC= ${WRKDIR}/bmake
makesyspath=${PREFIX}/share/mk:/usr/share/mk:/usr/local/share/mk:/opt/share/mk
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-default-sys-path=${makesyspath}
do-build:
cd ${WRKSRC} && MAKESYSPATH=${makesyspath} make -f makefile.boot bootstrap
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bmake ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/bmake.cat1 ${PREFIX}/man/cat1/bmake.0
${INSTALL_MAN} ${WRKSRC}/bmake.1 ${PREFIX}/man/man1
.include "../../mk/bsd.pkg.mk"