pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/boost-build Make this package install the Boost....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ae37e5329567
branches:  trunk
changeset: 529382:ae37e5329567
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Sat Jun 02 17:50:28 2007 +0000

description:
Make this package install the Boost.Build (v2) framework instead of the
bjam utility.  The latter is now provided in the boost-jam package, as the
Boost.Build packaging guidelines describe.

diffstat:

 devel/boost-build/Makefile |   30 ++-
 devel/boost-build/PLIST    |  510 ++++++++++++++++++++++++++++++++++++++++++++-
 devel/boost-build/bjam.mk  |   30 --
 3 files changed, 532 insertions(+), 38 deletions(-)

diffs (truncated from 598 to 300 lines):

diff -r 7b1bdd24e38a -r ae37e5329567 devel/boost-build/Makefile
--- a/devel/boost-build/Makefile        Sat Jun 02 17:49:30 2007 +0000
+++ b/devel/boost-build/Makefile        Sat Jun 02 17:50:28 2007 +0000
@@ -1,22 +1,40 @@
-# $NetBSD: Makefile,v 1.3 2006/01/20 20:40:19 jmmv Exp $
+# $NetBSD: Makefile,v 1.4 2007/06/02 17:50:28 jmmv Exp $
 #
 
 BOOST_PACKAGE=         build
 BOOST_COMMENT=         (Boost.Build framework)
 BOOST_CONFIG=          no
 
+PKGREVISION=           1
+
 .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"
 
-INSTALLATION_DIRS=     bin
+post-extract:
+       ${FIND} ${WRKSRC}/tools/build/v2 -type d -exec ${CHMOD} 755 {} \;
+       ${FIND} ${WRKSRC}/tools/build/v2 -type f -exec ${CHMOD} 644 {} \;
 
 do-build:
-       @cd ${WRKSRC}/tools/build/jam_src && \
-           ${SETENV} ${MAKE_ENV} ${SH} ./build.sh ${BOOST_TOOLSET}
+       { ${ECHO} '# System wide configuration file for Boost.Build.' ; \
+         ${ECHO} ; \
+         ${ECHO} 'using ${BOOST_TOOLSET} ;' ; } >${WRKDIR}/site-config.jam
 
 do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/tools/build/jam_src/bin.*/bjam \
-           ${PREFIX}/bin
+       ${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"
diff -r 7b1bdd24e38a -r ae37e5329567 devel/boost-build/PLIST
--- a/devel/boost-build/PLIST   Sat Jun 02 17:49:30 2007 +0000
+++ b/devel/boost-build/PLIST   Sat Jun 02 17:50:28 2007 +0000
@@ -1,2 +1,508 @@
-@comment $NetBSD: PLIST,v 1.1 2005/02/26 22:48:35 jmmv Exp $
-bin/bjam
+@comment $NetBSD: PLIST,v 1.2 2007/06/02 17:50:28 jmmv Exp $
+etc/site-config.jam
+share/boost-build/boost-build.jam
+share/boost-build/boost.css
+share/boost-build/bootstrap.jam
+share/boost-build/build-system.jam
+share/boost-build/build/alias.jam
+share/boost-build/build/build-request.jam
+share/boost-build/build/feature.jam
+share/boost-build/build/generators.jam
+share/boost-build/build/modifiers.jam
+share/boost-build/build/project.jam
+share/boost-build/build/property-set.jam
+share/boost-build/build/property.jam
+share/boost-build/build/readme.txt
+share/boost-build/build/scanner.jam
+share/boost-build/build/targets.jam
+share/boost-build/build/toolset.jam
+share/boost-build/build/type.jam
+share/boost-build/build/version.jam
+share/boost-build/build/virtual-target.jam
+share/boost-build/changes.txt
+share/boost-build/debian/boost-build.docs
+share/boost-build/debian/boost-build.examples
+share/boost-build/debian/changelog
+share/boost-build/debian/conffiles
+share/boost-build/debian/control
+share/boost-build/debian/copyright
+share/boost-build/debian/excludes
+share/boost-build/debian/rules
+share/boost-build/doc/Jamfile.v2
+share/boost-build/doc/development_plan.html
+share/boost-build/doc/src/advanced.xml
+share/boost-build/doc/src/architecture.xml
+share/boost-build/doc/src/catalog.xml
+share/boost-build/doc/src/extending.xml
+share/boost-build/doc/src/faq.xml
+share/boost-build/doc/src/howto.xml
+share/boost-build/doc/src/install.xml
+share/boost-build/doc/src/recipes.xml
+share/boost-build/doc/src/reference.xml
+share/boost-build/doc/src/tutorial.xml
+share/boost-build/doc/src/userman.xml
+share/boost-build/doc/tools.html
+share/boost-build/doc/tracker.html
+share/boost-build/doc/userman.pdf
+share/boost-build/example/boost-build.jam
+share/boost-build/example/customization/Jamfile
+share/boost-build/example/customization/class.verbatim
+share/boost-build/example/customization/codegen.cpp
+share/boost-build/example/customization/inline_file.py
+share/boost-build/example/customization/project-root.jam
+share/boost-build/example/customization/readme.txt
+share/boost-build/example/customization/t1.verbatim
+share/boost-build/example/customization/t2.verbatim
+share/boost-build/example/customization/usage.verbatim
+share/boost-build/example/customization/verbatim.jam
+share/boost-build/example/gettext/Jamfile
+share/boost-build/example/gettext/main.cpp
+share/boost-build/example/gettext/project-root.jam
+share/boost-build/example/gettext/readme.txt
+share/boost-build/example/gettext/russian.po
+share/boost-build/example/hello/Jamroot
+share/boost-build/example/hello/hello.cpp
+share/boost-build/example/libraries/Jamroot
+share/boost-build/example/libraries/app/Jamfile
+share/boost-build/example/libraries/app/app.cpp
+share/boost-build/example/libraries/util/foo/Jamfile
+share/boost-build/example/libraries/util/foo/bar.cpp
+share/boost-build/example/libraries/util/foo/include/lib1.h
+share/boost-build/example/make/Jamfile
+share/boost-build/example/make/a.cpp
+share/boost-build/example/make/extlib/Jamfile
+share/boost-build/example/make/extlib/c.cpp
+share/boost-build/example/make/extlib/gcc.jam
+share/boost-build/example/make/extlib/project-root.jam
+share/boost-build/example/make/gcc.jam
+share/boost-build/example/make/lib/Jamfile
+share/boost-build/example/make/lib/b.cpp
+share/boost-build/example/make/project-root.jam
+share/boost-build/example/make/readme.txt
+share/boost-build/example/qt-ui/Jamfile
+share/boost-build/example/qt-ui/hello_world_widget.ui
+share/boost-build/example/qt-ui/main.cpp
+share/boost-build/example/qt-ui/project-root.jam
+share/boost-build/example/qt/Jamfile
+share/boost-build/example/qt/canvas.cpp
+share/boost-build/example/qt/canvas.h
+share/boost-build/example/qt/main.cpp
+share/boost-build/example/qt/project-root.jam
+share/boost-build/example/variant/Jamfile
+share/boost-build/example/variant/a.cpp
+share/boost-build/example/variant/libs/Jamfile
+share/boost-build/example/variant/libs/l.cpp
+share/boost-build/example/variant/project-root.jam
+share/boost-build/example/variant/readme.txt
+share/boost-build/example/versioned/hello.cpp
+share/boost-build/example/versioned/jamfile.jam
+share/boost-build/example/versioned/project-root.jam
+share/boost-build/generators_prototype.py
+share/boost-build/hacking.txt
+share/boost-build/index.html
+share/boost-build/kernel/boost-build.jam
+share/boost-build/kernel/bootstrap.jam
+share/boost-build/kernel/class.jam
+share/boost-build/kernel/errors.jam
+share/boost-build/kernel/modules.jam
+share/boost-build/nightly.sh
+share/boost-build/notes/README.txt
+share/boost-build/notes/build_dir_option.txt
+share/boost-build/options/help.jam
+share/boost-build/release_procedure.txt
+share/boost-build/roll.sh
+share/boost-build/site-config.jam
+share/boost-build/test/BoostBuild.py
+share/boost-build/test/Jamfile
+share/boost-build/test/Jamrules
+share/boost-build/test/TestCmd.py
+share/boost-build/test/abs_workdir.py
+share/boost-build/test/absolute_sources.py
+share/boost-build/test/alias.py
+share/boost-build/test/alternatives.py
+share/boost-build/test/assert-equal.jam
+share/boost-build/test/bad_dirname.py
+share/boost-build/test/boost-build.jam
+share/boost-build/test/boostbook.py
+share/boost-build/test/boostbook/Jamroot
+share/boost-build/test/boostbook/a.hpp
+share/boost-build/test/boostbook/docs.xml
+share/boost-build/test/build_dir.py
+share/boost-build/test/c_file.py
+share/boost-build/test/chain.py
+share/boost-build/test/check-arguments.jam
+share/boost-build/test/check-bindrule.jam
+share/boost-build/test/check-jam-patches.jam
+share/boost-build/test/check-test-tools.jam
+share/boost-build/test/composite.py
+share/boost-build/test/conditionals.py
+share/boost-build/test/conditionals2.py
+share/boost-build/test/conditionals3.py
+share/boost-build/test/core_d12.py
+share/boost-build/test/core_delete_module.py
+share/boost-build/test/core_dependencies.py
+share/boost-build/test/core_import_module.py
+share/boost-build/test/core_modifiers.py
+share/boost-build/test/core_typecheck.py
+share/boost-build/test/core_varnames.py
+share/boost-build/test/custom_generator.py
+share/boost-build/test/default_build.py
+share/boost-build/test/default_features.py
+share/boost-build/test/dependency-test/Jamfile
+share/boost-build/test/dependency-test/a.cpp
+share/boost-build/test/dependency-test/a.h
+share/boost-build/test/dependency-test/a_c.c
+share/boost-build/test/dependency-test/b.cpp
+share/boost-build/test/dependency-test/b.h
+share/boost-build/test/dependency-test/c.cpp
+share/boost-build/test/dependency-test/e.cpp
+share/boost-build/test/dependency-test/foo.jam
+share/boost-build/test/dependency-test/project-root.jam
+share/boost-build/test/dependency-test/src1/a.h
+share/boost-build/test/dependency-test/src1/b.h
+share/boost-build/test/dependency-test/src1/c.h
+share/boost-build/test/dependency-test/src1/z.h
+share/boost-build/test/dependency-test/src2/b.h
+share/boost-build/test/dependency-test/x.foo
+share/boost-build/test/dependency-test/y.foo
+share/boost-build/test/dependency_property.py
+share/boost-build/test/dependency_test.py
+share/boost-build/test/direct-request-test/Jamfile
+share/boost-build/test/direct-request-test/Jamfile2
+share/boost-build/test/direct-request-test/a.cpp
+share/boost-build/test/direct-request-test/b.cpp
+share/boost-build/test/direct-request-test/b_inverse.cpp
+share/boost-build/test/direct-request-test/project-root.jam
+share/boost-build/test/direct_request_test.py
+share/boost-build/test/dll_path.py
+share/boost-build/test/double_loading.py
+share/boost-build/test/duplicate.py
+share/boost-build/test/echo_args.jam
+share/boost-build/test/empty.jam
+share/boost-build/test/expansion.py
+share/boost-build/test/explicit.py
+share/boost-build/test/gcc_runtime.py
+share/boost-build/test/generators-test/Jamfile
+share/boost-build/test/generators-test/a.cpp
+share/boost-build/test/generators-test/b.cxx
+share/boost-build/test/generators-test/c.ui
+share/boost-build/test/generators-test/d.wd
+share/boost-build/test/generators-test/e.cpp
+share/boost-build/test/generators-test/extra.jam
+share/boost-build/test/generators-test/lex.jam
+share/boost-build/test/generators-test/lib/Jamfile
+share/boost-build/test/generators-test/lib/c.cpp
+share/boost-build/test/generators-test/nm.jam
+share/boost-build/test/generators-test/project-root.jam
+share/boost-build/test/generators-test/qt.jam
+share/boost-build/test/generators-test/x.l
+share/boost-build/test/generators-test/y.x_pro
+share/boost-build/test/generators-test/z.cpp
+share/boost-build/test/generators_test.py
+share/boost-build/test/glob.py
+share/boost-build/test/inherit_toolset.py
+share/boost-build/test/inline.py
+share/boost-build/test/library_chain.py
+share/boost-build/test/library_order.py
+share/boost-build/test/library_property.py
+share/boost-build/test/load_dir.py
+share/boost-build/test/load_order.py
+share/boost-build/test/loop.py
+share/boost-build/test/m1-01.py
+share/boost-build/test/m1-02.py
+share/boost-build/test/m1-03.py
+share/boost-build/test/make_rule.py
+share/boost-build/test/module-actions/boost-build.jam
+share/boost-build/test/module-actions/bootstrap.jam
+share/boost-build/test/module_actions.py
+share/boost-build/test/ndebug.py
+share/boost-build/test/no_type.py
+share/boost-build/test/notfile.py
+share/boost-build/test/ordered_properties.py
+share/boost-build/test/out_of_tree.py
+share/boost-build/test/path_features.py
+share/boost-build/test/prebuilt.py
+share/boost-build/test/prebuilt/Jamfile
+share/boost-build/test/prebuilt/ext/Jamfile
+share/boost-build/test/prebuilt/ext/Jamfile2
+share/boost-build/test/prebuilt/ext/Jamfile3
+share/boost-build/test/prebuilt/ext/a.cpp
+share/boost-build/test/prebuilt/ext/debug/a.h
+share/boost-build/test/prebuilt/ext/project-root.jam
+share/boost-build/test/prebuilt/ext/release/a.h
+share/boost-build/test/prebuilt/hello.cpp
+share/boost-build/test/prebuilt/project-root.jam
+share/boost-build/test/print.py
+share/boost-build/test/project-test1.jam
+share/boost-build/test/project-test1/Jamfile
+share/boost-build/test/project-test1/dir/Jamfile
+share/boost-build/test/project-test1/dir2/Jamfile
+share/boost-build/test/project-test1/dir2/project-root.jam
+share/boost-build/test/project-test1/project-root.jam
+share/boost-build/test/project-test1/project-test1.jam
+share/boost-build/test/project-test1/readme.txt
+share/boost-build/test/project-test1/standalone-project.jam



Home | Main Index | Thread Index | Old Index