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