Ticket #22243: Portfile

File Portfile, 1.1 KB (added by heidrich@…, 15 years ago)

New ann port

Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id$
3
4PortSystem          1.0
5
6name                ann
7version             1.1.1
8categories          devel
9maintainers         heidrich
10description         Approximate Nearest Neighbor library
11long_description    ANN is a library to find approximate nearest neighbors from a sample set
12homepage            http://www.cs.umd.edu/~mount/ANN/
13platforms           darwin
14master_sites        http://www.cs.umd.edu/~mount/ANN/Files/1.1.1
15distfiles           ann_1.1.1.tar.gz
16worksrcdir          ${name}_${version}
17
18checksums           md5 b6247e4a34e8a5e122ebf299cd51f871 \
19                    sha1 3f4ac40d6cd3733c3a63b959ca505decd10a833d \
20                    rmd160 5b5df4713583cf4fadc6636a76e73a33403f8f16
21
22configure           {}
23
24build.target        macosx-g++
25
26destroot            {
27    file copy ${worksrcpath}/lib/libANN.a ${destroot}${prefix}/lib/
28    foreach f [glob ${worksrcpath}/include/*] {
29        file copy $f ${destroot}${prefix}/include/
30    }
31    foreach f [glob ${worksrcpath}/bin/*] {
32        file copy $f ${destroot}${prefix}/bin/
33    }
34}