Libann version 1.1.1 - How to Download and Install on Mac OS X
Sunday the 22nd of November, 2009

    version 1.1.1

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


      # -*- coding: utf-8; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
      The libann Portfile 56481 2009-08-28 15:34:48Z mnick macports.org $

      PortSystem 1.0

      Name: libANN
      Version: 1.1.1
      Maintainers: mnick

      Category: science devel
      Description: A Library for Approximate Nearest Neighbor Searching
      Long Description: ANN is a library written in C++, which supports data structures and algorithms for both exact and approximate nearest neighbor searching in arbitrarily high dimensions.

      Platform: darwin
      license LGPL

      Homepage: http://www.cs.umd.edu/~mount/ANN/
      Master Sites: ${homepage}/Files/${version}/
      distname ann_${version}

      Checksums: md5 b6247e4a34e8a5e122ebf299cd51f871 sha1 3f4ac40d6cd3733c3a63b959ca505decd10a833d rmd160 5b5df4713583cf4fadc6636a76e73a33403f8f16

      use_configure no
      build.target macosx-g++

      destroot {
      file copy ${worksrcpath}/include/ANN ${destroot}${prefix}/include
      file copy ${worksrcpath}/lib/libANN.a ${destroot}${prefix}/lib
      eval file copy [glob ${worksrcpath}/bin/*] ${destroot}${prefix}/bin
      file mkdir ${destroot}${prefix}/share/doc
      file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/libANN
      }

      livecheck.type regex
      livecheck.url ${homepage}
      livecheck.regex Version (.*)

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.