source: trunk/dports/math/octave-ann/Portfile @ 53097

Last change on this file since 53097 was 53097, checked in by alakazam@…, 11 years ago

Update octave-forge packages (closes #20061).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 53097 2009-06-29 14:03:12Z alakazam@macports.org $
2
3PortSystem 1.0
4
5name                octave-ann
6version             1.0.2
7categories          math science
8platforms           darwin
9maintainers         and.damore alakazam
10description         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. 
11long_description    ${description}
12
13homepage            http://octave.sourceforge.net/
14master_sites        sourceforge:octave
15
16distname            ann-$version
17
18checksums           md5     3b383fdec459cf4f66c221e7b698aab0 \
19                    sha1    5da0e67273316edbc127ab31bb3e15b89ec25a4f \
20                    rmd160  4d74c6a5db17caf1d329c0fdac9fe068c0c1ddb5
21
22depends_lib-append  port:octave
23
24post-destroot {
25    move ${destroot}${prefix}/share/octave/octave_packages ${destroot}${prefix}/share/octave/octave_packages_${name}
26}
27
28post-activate {
29    system "octave --eval \"pkg rebuild\""
30}
31
32livecheck.check regex
33livecheck.url   http://octave.sourceforge.net/packages.html
34livecheck.regex http://downloads\.sourceforge\.net/octave/ann-(\\d+(\\.\\d+)*)\.tar\.gz
Note: See TracBrowser for help on using the repository browser.