# $Id: Portfile 62653 2010-01-13 14:11:06Z mmoll@macports.org $

PortSystem 1.0
PortGroup cmake 1.0
name                flann
version             1.2
categories          science devel
maintainers         mmoll
description         Fast Library for Approximate Nearest Neighbors
long_description    FLANN is a library for performing fast approximate \
		    nearest neighbor searches in high dimensional spaces. \
		    It contains a collection of algorithms we found to \
		    work best for nearest neighbor search and a system \
		    for automatically choosing the best algorithm and \
		    optimum parameters depending on the dataset.
homepage            http://people.cs.ubc.ca/~mariusm/index.php/FLANN/FLANN
platforms           darwin
license		    BSD
master_sites        http://people.cs.ubc.ca/~mariusm/uploads/FLANN/
distname	    ${name}-${version}-src
use_zip		    yes
worksrcdir	    ${distname}/src
#configure.args-append src/CMakeLists.txt
checksums           md5     03ffd00523fd629e259febcc762d4668 \
                    sha1    6d82bbdb28b2d04a9808f071c1efeac3b1224380 \
                    rmd160  fc05574746727b220f1da83924680e033ff48264

patchfiles          patch-CMakeLists.txt.diff patch-cpp-CMakeLists.txt.diff

livecheck.type  regex
livecheck.url   ${homepage}
livecheck.regex Version (\[0-9.\]+)
