blob: c3c10e02e6fb922a9aa3c555dce19fa44f142925 (
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.4 2009/10/14 06:40: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/jam/src && \
${SETENV} ${MAKE_ENV} ${SH} ./build.sh ${BOOST_TOOLSET}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tools/jam/src/bin.*/bjam \
${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"
|