1 | # -*- 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 |
---|
2 | # $Id: Portfile 63313 2010-02-01 17:05:45Z mnick@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name libANN |
---|
7 | version 1.1.2 |
---|
8 | maintainers mnick |
---|
9 | |
---|
10 | categories science devel |
---|
11 | description A Library for Approximate Nearest Neighbor Searching |
---|
12 | long_description ANN is a library written in C++, which supports data structures and \ |
---|
13 | algorithms for both exact and approximate nearest neighbor searching \ |
---|
14 | in arbitrarily high dimensions. |
---|
15 | |
---|
16 | platforms darwin |
---|
17 | license LGPL |
---|
18 | |
---|
19 | homepage http://www.cs.umd.edu/~mount/ANN/ |
---|
20 | master_sites ${homepage}/Files/${version}/ |
---|
21 | distname ann_${version} |
---|
22 | |
---|
23 | checksums md5 7ffaacc7ea79ca39d4958a6378071365 \ |
---|
24 | sha1 27ec04d55e244380ade3706a9b71c3d631e2ff1a \ |
---|
25 | rmd160 1b76b2f5c25c83c6d52a1a1e19e5b058ccf929d0 |
---|
26 | |
---|
27 | use_configure no |
---|
28 | build.target macosx-g++ |
---|
29 | |
---|
30 | patchfiles patch-Make-config.diff |
---|
31 | |
---|
32 | destroot { |
---|
33 | file copy ${worksrcpath}/include/ANN ${destroot}${prefix}/include |
---|
34 | file copy ${worksrcpath}/lib/libANN.a ${destroot}${prefix}/lib |
---|
35 | eval file copy [glob ${worksrcpath}/bin/*] ${destroot}${prefix}/bin |
---|
36 | file mkdir ${destroot}${prefix}/share/doc |
---|
37 | file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/libANN |
---|
38 | } |
---|
39 | |
---|
40 | livecheck.type regex |
---|
41 | livecheck.url ${homepage} |
---|
42 | livecheck.regex <b>Version (.*)</b> |
---|