summaryrefslogtreecommitdiff
path: root/devel/bmake/Makefile
blob: 44c668bb2aa69f65def30ce6177239426cc57205 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $NetBSD: Makefile,v 1.7 2002/12/01 06:27:39 sjg Exp $
#

DISTNAME=       bmake-3.1.15
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.3.2:../../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:
	${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"