# Ports collection makefile for:  boost-jam
# Date Created:			  15 March 2009
# Whom:				  Alexander Churanov <churanov.port.maintainer@gmail.com>
#
# $FreeBSD: ports/devel/boost-jam/Makefile,v 1.3 2010/12/27 20:53:09 pav Exp $
#

PORTNAME=	boost-jam
COMMENT=	Build tool from the boost.org
USE_BZIP2=	yes

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/boost-all/common.mk"

BJAM=		${WRKSRC}/bjam

do-build:
	cd ${WRKSRC} && ${MAKE_ENV} ./bootstrap.sh --prefix=${PREFIX};

do-install:
	${MKDIR} ${PREFIX}/bin
	${INSTALL_PROGRAM} ${BJAM} ${PREFIX}/bin/

.include <bsd.port.post.mk>
