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 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name vw-devel |
---|
7 | version 20120415 |
---|
8 | revision 1 |
---|
9 | |
---|
10 | categories graphics science |
---|
11 | license NOSA |
---|
12 | platforms darwin |
---|
13 | maintainers nasa.gov:z.m.moratto |
---|
14 | |
---|
15 | description NASA Vision Workbench (C++) Library |
---|
16 | |
---|
17 | long_description VW is a library that is aimed at large scale \ |
---|
18 | image processing. It differs specifically from \ |
---|
19 | OpenCV in that it uses lazy operations which \ |
---|
20 | are only applied on actual write. VW is open \ |
---|
21 | source and multithreaded. |
---|
22 | |
---|
23 | homepage http://ti.arc.nasa.gov/tech/asr/intelligent-robotics/nasa-vision-workbench/ |
---|
24 | |
---|
25 | fetch.type git |
---|
26 | git.url git://github.com/visionworkbench/visionworkbench.git |
---|
27 | |
---|
28 | depends_lib port:gdal \ |
---|
29 | port:jpeg \ |
---|
30 | port:libpng \ |
---|
31 | port:libproj4 \ |
---|
32 | port:zlib \ |
---|
33 | port:ilmbase \ |
---|
34 | port:openexr \ |
---|
35 | port:boost \ |
---|
36 | port:protobuf-cpp \ |
---|
37 | port:flann \ |
---|
38 | port:automake \ |
---|
39 | port:libtool |
---|
40 | |
---|
41 | universal_variant no |
---|
42 | |
---|
43 | configure.args-append --enable-module-mosaic=yes \ |
---|
44 | --enable-module-camera=yes \ |
---|
45 | --enable-module-cartography=yes \ |
---|
46 | --enable-module-stereo=yes \ |
---|
47 | --enable-module-tools=no \ |
---|
48 | --with-jpeg=${prefix} \ |
---|
49 | --with-png=${prefix} \ |
---|
50 | --with-gdal=${prefix} \ |
---|
51 | --with-proj4=${prefix} \ |
---|
52 | --with-z=${prefix} \ |
---|
53 | --with-ilmbase=${prefix} \ |
---|
54 | --with-openexr=${prefix} \ |
---|
55 | --with-boost=${prefix} \ |
---|
56 | --with-protobuf=${prefix} \ |
---|
57 | --with-flann=${prefix} \ |
---|
58 | --without-tiff \ |
---|
59 | --without-hdr \ |
---|
60 | --without-cairomm \ |
---|
61 | --without-x11 \ |
---|
62 | --without-clapack \ |
---|
63 | --without-slapack \ |
---|
64 | --without-flapack \ |
---|
65 | --without-opencv \ |
---|
66 | --without-cg \ |
---|
67 | --without-qt-qmake \ |
---|
68 | --without-arbitrary-qt \ |
---|
69 | --without-qt \ |
---|
70 | |
---|
71 | if {${configure.compiler} == "clang"} { |
---|
72 | configure.compiler llvm-gcc-4.2 |
---|
73 | } |
---|
74 | |
---|
75 | pre-configure { |
---|
76 | system "cd ${worksrcpath} && ./autogen" |
---|
77 | } |
---|
78 | |
---|
79 | variant debug description {Provide debug symbols} { |
---|
80 | configure.args-append --enable-debug=yes |
---|
81 | } |
---|
82 | |
---|
83 | variant tools description {Build example executables} { |
---|
84 | configure.args-append --enable-module-tools=yes |
---|
85 | # Building the executables causes GCC-4.2 to use a lot of |
---|
86 | # memory. It's best to only use one thread otherwise you'll take |
---|
87 | # the user's system down. |
---|
88 | build.jobs 1 |
---|
89 | } |
---|
90 | |
---|
91 | variant plate description {Build plate module} { |
---|
92 | depends_lib-append port:zmq |
---|
93 | configure.args-append --enable-module-plate=yes \ |
---|
94 | --with-zeromq=${prefix} |
---|
95 | } |
---|