Botan version 1.8.7 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    version 1.8.7

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


      The botan Portfile 57579 2009-09-13 15:44:14Z mww macports.org $

      PortSystem 1.0

      Name: botan
      Version: 1.8.7
      Category: security devel
      Platform: darwin
      Maintainers: mww
      Description: cryptographic algorithms and formats library in C++
      Long Description: Botan is a C++ library implementing a variety of cryptographic algorithms and formats. At this time, it is quite stable, and is suitable for use in a wide variety of programs.

      Homepage: http://botan.randombit.net/
      Master Sites: http://files.randombit.net/botan/
      distfiles Botan-${version}.tbz
      worksrcdir Botan-${version}
      Checksums: md5 c607e31b012d9839fd0a1da24ff85e3d sha1 c7e7f779d48e5cb6dcb8736229eddb553c4e5a4a rmd160 c4a043c1896c847482098bb8a4dae4294a41cc54
      use_bzip2 yes
      Patch Files: patch-src-build-data-cc-gcc.diff

      worksrcdir Botan-${version}

      configure.cmd ./configure.py
      configure.args --docdir=share/doc --cc=gcc

      destroot.destdir DESTDIR=${destroot}${prefix}

      platform darwin { configure.args-append --os=darwin }

      if {[info exists build_arch] && ${os.platform} == "darwin"} {
      if {(${build_arch} == "i386")} {
      configure.args-append --cpu=ia32
      build.args CXX="${configure.cxx} -m32"
      } elseif {(${build_arch} == "x86_64")} {
      configure.args-append --cpu=amd64
      build.args CXX="${configure.cxx} -m64"
      } elseif {(${build_arch} == "ppc")} {
      configure.args-append --cpu=ppc
      build.args CXX="${configure.cxx} -m32"
      } elseif {(${build_arch} == "ppc64")} {
      configure.args-append --cpu=ppc64
      build.args CXX="${configure.cxx} -m64"
      }
      } else {
      build.args CXX="${configure.cxx}"
      }


    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/botan
      % sudo port install botan
      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 botan
      ---> Verifying checksum for botan
      ---> Extracting botan
      ---> Configuring botan
      ---> Building botan with target all
      ---> Staging botan into destroot
      ---> Installing botan
    - 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 botan with these commands:
      %  man botan
      % apropos botan
      % which botan
      % locate botan

     Where to find more information:

    Darwin Ports



    Lightbox this page.