blob: 048ec88af5a76906a78429210014faf66af04739 (
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
29
30
31
|
# $NetBSD: Makefile,v 1.5 2010/11/26 20:47:00 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/src && \
${SETENV} ${MAKE_ENV} ${SH} ./build.sh ${BOOST_TOOLSET}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tools/build/v2/engine/src/bin.*/bjam \
${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"
|