pkgsrc/devel/boost-jam/Makefile
adam 967857908e Changes 1.47.0:
New Libraries
* Chrono: Useful time utilities
* Geometry: Geometry Library
* Phoenix: Define small unnamed function objects at the actual call site, and
  more
* Ratio: Compile time rational arithmetic
More: http://www.boost.org/users/history/version_1_47_0.html
2011-10-11 10:02:07 +00:00

31 lines
782 B
Makefile

# $NetBSD: Makefile,v 1.6 2011/10/11 10:02:08 adam Exp $
PKG_DESTDIR_SUPPORT= user-destdir
BOOST_PACKAGE= jam
BOOST_COMMENT= (Boost.Jam utility)
BOOST_CONFIG= no
CONFLICTS+= boost-build<=1.33.1
.include "../../meta-pkgs/boost/Makefile.common"
SUBST_CLASSES+= bb
SUBST_MESSAGE.bb= Fixing path to Boost.Build files.
SUBST_STAGE.bb= pre-build
SUBST_FILES.bb= tools/jam/src/Jambase
SUBST_SED.bb= -e 's,/usr/share/boost-build,${PREFIX}/share/boost-build,g'
.include "../../devel/boost-build/toolset.mk"
INSTALLATION_DIRS= bin
do-build:
cd ${WRKSRC}/tools/build/v2/engine && \
${SETENV} ${MAKE_ENV} ${SH} ./build.sh ${BOOST_TOOLSET}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tools/build/v2/engine/bin.*/bjam \
${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"