# $Id: Portfile 50971 2009-05-14 16:06:23Z and.damore@macports.org $ PortSystem 1.0 name octave-ann version 1.0.1 categories math science platforms darwin maintainers and.damore alakazam description The Octave-forge ANN package wraps the ANN library, which provides data structures and functions for computing exact and approximate nearest neighbors on an arbitrarily high dimensional point set. long_description ${description} homepage http://octave.sourceforge.net/ master_sites sourceforge:octave distname ann-1.0.1 checksums \ ann-1.0.1.tar.gz \ md5 a2666a41a7c53049690cfd31a93096d5 \ sha1 e5368b251e2d2c1a467de0cdfccf18a56a616514 \ rmd160 3abd18169b3b5082ca38a780b850f788058545e1 depends_lib-append port:octave post-destroot { move ${destroot}${prefix}/share/octave/octave_packages ${destroot}${prefix}/share/octave/octave_packages_${name} } post-activate { system "octave --eval \"pkg rebuild\"" } livecheck.check regex livecheck.url http://octave.sourceforge.net/packages.html livecheck.regex http://downloads\.sourceforge\.net/octave/ann-(\\d+(\\.\\d+)*)\.tar\.gz