037b8ccfb2
Changes of note: synched with NetBSD make as of 2001/10/16 fix for bug in compat mode .END processing fix for bug in cleanup of jobs when using -jN addition of .USEBEFORE simpler bootstrap - compiles again on recent linux (Red Hat) The Makefile here now deals with the fact that we may not have installed a sys.mk in /usr/pkg/share/mk on BSD systems. Reviewed: agc
28 lines
843 B
Makefile
28 lines
843 B
Makefile
# $NetBSD: Makefile,v 1.3 2001/10/18 21:41:06 sjg Exp $
|
|
#
|
|
|
|
DISTNAME= bmake-3.1.12
|
|
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>=1.2.5:../../devel/mk-files
|
|
|
|
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:
|
|
${BSD_INSTALL_PROGRAM} ${WRKSRC}/bmake ${PREFIX}/bin
|
|
${BSD_INSTALL_MAN} ${WRKSRC}/bmake.cat1 ${PREFIX}/man/cat1/bmake.0
|
|
${BSD_INSTALL_MAN} ${WRKSRC}/bmake.1 ${PREFIX}/man/man1
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|