boost version 1.34.1 for Mac OS X 10.5 Leopard
Sunday the 11th of May, 2008

    boost  most recent diff


      View the most recent changes for the boost port at: boost.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for boost.
      The raw portfile for boost 1.34.1 is located here:
      http://boost.darwinports.com/dports/devel/boost/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/boost
      Google
      Web Darwinports.com



      # $Id: Portfile 33914 2008-02-07 08:04:43Z ryandesign macports.org $

      PortSystem 1.0

      Name: boost
      Version: 1.34.1
      revision 1
      Category: devel
      Maintainers: sanchom gmail.com
      Description: Collection of portable C++ source libraries
      Long Description: Boost provides free portable peer-reviewed C++ libraries. The emphasis is on portable libraries which work well with the C++ Standard Library.
      Homepage: http://www.boost.org
      master_sites sourceforge
      distname ${name}_[strsed ${version} {g/[.]/_/}]
      use_bzip2 yes
      checksums md5 2d938467e8a448a2c9763e0a9f8ca7e5
      Platform: darwin

      depends_build bin:bjam:boost-jam

      platform darwin 9 {
      depends_build-append port:gmake
      build.cmd gmake
      }

      platform darwin {
      post-destroot {

      # get the library version as it shows up in the library names:
      # eg. 1_34_1
      set libver [join [lrange [split ${version} {.}] 0 2] {_}]

      # ensure the identification name of the dynamic libraries agree
      # with their final destination path (not the destroot path that
      # they've just been installed to)
      foreach lib [glob -directory ${destroot}${prefix}/lib/ *-${libver}.dylib] {
      system "install_name_tool -id ${prefix}/lib/${lib} ${lib}"
      }

      # create relative symbolic links to the versioned libraries (.dylib only;
      # .a were built with unversioned extensions that are duplicate files of the
      # versioned extensions... handled next)
      foreach lib [glob -directory ${destroot}${prefix}/lib/ *-${libver}.dylib] {
      set libname [join [lrange [split [file rootname ${lib}] {-}] 0 end-1] {-}]
      set libext [file extension ${lib}]
      set liblink "${libname}${libext}"
      if {![catch {set libtype [file type ${liblink}]}]} {
      if {${libtype} == "link"} {
      file delete -force ${liblink}
      }
      }
      system "cd ${destroot}${prefix}/lib;ln -s ${lib} ${liblink}"
      }

      # change the duplicated non-version-named .a libraries to
      # symbolic links to the version-named .a libraries
      foreach lib [glob -directory ${destroot}${prefix}/lib/ *-${libver}.a] {
      set libname [join [lrange [split [file rootname ${lib}] {-}] 0 end-1] {-}]
      set libext [file extension ${lib}]
      set liblink "${libname}${libext}"
      # if this file is around, it is a duplicate, delete it
      if {[file exists ${liblink}]} {
      file delete -force ${liblink}
      }
      # add a symbolic link instead
      system "cd ${destroot}${prefix}/lib; ln -s ${lib} ${liblink}"
      }

      # create a symbolic link in the include directory pointing to the current
      # version of the boost include directory (e.g. boost-1_34_1/boost -> include/boost)
      system "cd ${destroot}${prefix}/lib; ln -fs boost-${libver}/boost ${destroot}${prefix}/include/boost"
      }
      }

      destroot.args PREFIX=${destroot}${prefix} EPREFIX=${destroot}${prefix} LIBDIR=${destroot}${prefix}/lib INCLUDEDIR=${destroot}${prefix}/include install

      configure.args --without-libraries=python --without-icu

      Variant: python24 {
      set pyversion 2.4
      depends_lib lib:libpython${pyversion}:python[strsed ${pyversion} {g/[.]//}]

      configure.args-delete --without-libraries=python
      }

      Variant: python25 {
      set pyversion 2.5
      depends_lib lib:libpython${pyversion}:python[strsed ${pyversion} {g/[.]//}]

      configure.args-delete --without-libraries=python
      }
      Variant: icu {
      depends_lib port:icu

      configure.args-delete --without-icu
      configure.args-append --with-icu
      }

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/boost
      % sudo port install boost
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching boost
      ---> Verifying checksum for boost
      ---> Extracting boost
      ---> Configuring boost
      ---> Building boost with target all
      ---> Staging boost into destroot
      ---> Installing boost
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using boost with these commands:
      %  man boost
      % apropos boost
      % which boost
      % locate boost

     Where to find more information:

    Darwin Ports



    image test