43c34447ad
Bump PKGREVISION to 2.
40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.5 2007/06/09 07:42:23 jmmv Exp $
|
|
#
|
|
|
|
BOOST_PACKAGE= build
|
|
BOOST_COMMENT= (Boost.Build framework)
|
|
BOOST_CONFIG= no
|
|
|
|
PKGREVISION= 2
|
|
|
|
.include "../../meta-pkgs/boost/Makefile.common"
|
|
|
|
SUBST_CLASSES+= confdir
|
|
SUBST_MESSAGE.confdir= Fixing path to site-config.jam.
|
|
SUBST_STAGE.confdir= pre-build
|
|
SUBST_FILES.confdir= tools/build/v2/build-system.jam
|
|
SUBST_SED.confdir= -e 's,/etc,${PKG_SYSCONFDIR},g'
|
|
|
|
EGDIR= ${PREFIX}/share/examples/boost-build
|
|
CONF_FILES= ${EGDIR}/site-config.jam \
|
|
${PKG_SYSCONFDIR}/site-config.jam
|
|
|
|
.include "toolset.mk"
|
|
|
|
post-extract:
|
|
${FIND} ${WRKSRC}/tools/build/v2 -type d -exec ${CHMOD} 755 {} \;
|
|
${FIND} ${WRKSRC}/tools/build/v2 -type f -exec ${CHMOD} 644 {} \;
|
|
|
|
do-build:
|
|
{ ${ECHO} '# System wide configuration file for Boost.Build.' ; \
|
|
${ECHO} ; \
|
|
${ECHO} 'using ${BOOST_TOOLSET} ;' ; } >${WRKDIR}/site-config.jam
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/boost-build
|
|
cd ${WRKSRC}/tools/build/v2 && ${PAX} -rw -pp -pm . \
|
|
${PREFIX}/share/boost-build
|
|
${INSTALL_DATA_DIR} ${EGDIR}
|
|
${INSTALL_DATA} ${WRKDIR}/site-config.jam ${EGDIR}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|