diff options
Diffstat (limited to 'devel/boost-jam/Makefile')
-rw-r--r-- | devel/boost-jam/Makefile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/devel/boost-jam/Makefile b/devel/boost-jam/Makefile new file mode 100644 index 00000000000..f57a5738b85 --- /dev/null +++ b/devel/boost-jam/Makefile @@ -0,0 +1,33 @@ +# $NetBSD: Makefile,v 1.1.1.1 2007/06/02 17:48:51 jmmv Exp $ +# + +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/build/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 + +pre-build: + rm ${WRKSRC}/tools/build/jam_src/jambase.c + +do-build: + cd ${WRKSRC}/tools/build/jam_src && \ + ${SETENV} ${MAKE_ENV} ${SH} ./build.sh ${BOOST_TOOLSET} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/tools/build/jam_src/bin.*/bjam \ + ${PREFIX}/bin + +.include "../../mk/bsd.pkg.mk" |