29 lines
702 B
Makefile
29 lines
702 B
Makefile
# $NetBSD: Makefile,v 1.12 2009/08/08 21:16:19 wiz Exp $
|
|
#
|
|
|
|
BOOST_PACKAGE= python
|
|
BOOST_COMMENT= (Boost.Python binary library)
|
|
BOOST_CONFIG= installed
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
.include "../../meta-pkgs/boost/Makefile.common"
|
|
|
|
BJAM_ARGS+= --user-config=${WRKSRC}/user-config.jam
|
|
BJAM_ARGS+= --with-python
|
|
MAKE_ENV+= BOOST_BUILD_PATH=${WRKSRC}
|
|
PYTHON_VERSIONS_ACCEPTED= 26 25
|
|
|
|
.include "../../devel/boost-jam/bjam.mk"
|
|
.include "../../lang/python/application.mk"
|
|
|
|
post-configure:
|
|
echo 'using python : ${PYVERSSUFFIX} :' \
|
|
'${PREFIX}/bin/python${PYVERSSUFFIX} ;' \
|
|
>${WRKSRC}/user-config.jam
|
|
|
|
do-build: bjam-build
|
|
|
|
do-install: boost-install-libs
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|