# New ports collection makefile for: bmake # Date created: 13 September 2009 # Whom: Mikolaj Golub # # $FreeBSD$ # PORTNAME= bmake PORTVERSION= 20101101 CATEGORIES= devel MASTER_SITES= ftp://ftp.netbsd.org/pub/NetBSD/misc/sjg/ \ http://www.gtlib.cc.gatech.edu/pub/NetBSD/misc/sjg/ \ ftp://ftp.uk.netbsd.org/pub/NetBSD/misc/sjg/ \ ftp://ftp.de.netbsd.org/pub/NetBSD/misc/sjg/ DISTFILES= bmake-${PORTVERSION}.tar.gz mk-20100612.tar.gz MAINTAINER= to.my.trociny@gmail.com COMMENT= Portable version of NetBSD 'make' utility WRKSRC= ${WRKDIR}/${PORTNAME} MAN1= bmake.1 post-patch: .SILENT ${REINPLACE_CMD} 's/^\.Nx/NetBSD/' ${WRKDIR}/bmake/bmake.1 do-build: ${SETENV} ${MAKE_ENV} ${SH} ${WRKDIR}/bmake/boot-strap \ -m ${WRKDIR}/mk objdir=${WRKDIR}/obj prefix=${PREFIX} do-install: ${INSTALL_PROGRAM} ${WRKDIR}/obj/bmake ${PREFIX}/bin ${INSTALL_MAN} ${WRKDIR}/bmake/bmake.1 ${MAN1PREFIX}/man/man1 ${SH} ${WRKDIR}/mk/install-mk ${PREFIX}/share/mk .include