Ticket #42015: Portfile

File Portfile, 1.5 KB (added by jwhowse4, 11 years ago)

portfile which worked

Line 
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
4PortSystem          1.0
5
6name                libANN
7version             1.1.2
8maintainers         mnick
9
10categories          science devel
11description         A Library for Approximate Nearest Neighbor Searching
12long_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
16platforms           darwin
17license             LGPL
18
19homepage            http://www.cs.umd.edu/~mount/ANN/
20master_sites        ${homepage}/Files/${version}/
21distname            ann_${version}
22
23checksums           md5     7ffaacc7ea79ca39d4958a6378071365 \
24                    sha1    27ec04d55e244380ade3706a9b71c3d631e2ff1a \
25                    rmd160  1b76b2f5c25c83c6d52a1a1e19e5b058ccf929d0
26
27use_configure       no
28build.target        macosx-g++
29
30patchfiles          patch-Make-config.diff
31
32destroot {
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
40livecheck.type      regex
41livecheck.url       ${homepage}
42livecheck.regex     <b>Version (.*)</b>