Ticket #34085: Portfile

File Portfile, 3.0 KB (added by z.m.moratto@…, 12 years ago)
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                    asp-devel
7version                 20120417
8revision                1
9
10categories              graphics science
11license                 NOSA
12platforms               darwin
13maintainers             nasa.gov:z.m.moratto
14
15description             NASA Ames Stereo Pipeline
16
17long_description        ASP is a collection of tools for doing 3D image \
18                        processing. Specifically it targets 3D generation \
19                        from satellite imagery (NASA and Commercial). \
20                        However it can be applied to handheld and robotic \
21                        imagery when given a camera model in TSAI format.
22
23homepage                http://irg.arc.nasa.gov/ngt/stereo
24
25fetch.type              git
26git.url                 git://github.com/NeoGeographyToolkit/StereoPipeline.git
27
28depends_lib             port:vw-devel \
29                        port:flann \
30                        port:xercesc3 \
31                        port:protobuf-cpp \
32                        port:automake \
33                        port:libtool
34
35configure.args-append   --enable-module-core=yes \
36                        --enable-module-spiceio=no \
37                        --enable-module-isisio=no \
38                        --enable-module-sessions=yes \
39                        --enable-app-disparitydebug=yes \
40                        --enable-app-hsvmerge=yes \
41                        --enable-app-orthoproject=yes \
42                        --enable-app-point2dem=yes \
43                        --enable-app-stereo=yes \
44                        --enable-app-mer2camera=yes \
45                        --with-boost=${prefix} \
46                        --with-flann=${prefix} \
47                        --with-xercesc=${prefix} \
48                        --with-protobuf=${prefix} \
49                        --with-vw=${prefix} \
50                        --with-vw_core=${prefix} \
51                        --with-vw_math=${prefix} \
52                        --with-vw_image=${prefix} \
53                        --with-vw_fileio=${prefix} \
54                        --with-vw_camera=${prefix} \
55                        --with-vw_stereo=${prefix} \
56                        --with-vw_cartography=${prefix} \
57                        --with-vw_interest_point=${prefix} \
58                        --without-kakadu \
59                        --without-qt_qmake \
60                        --without-arbitrary_qt \
61                        --without-qt \
62                        --without-clapack \
63                        --without-slapack \
64                        --without-flapack \
65                        --without-openscenegraph
66
67if {${configure.compiler} == "clang"} {
68    configure.compiler llvm-gcc-4.2
69}
70
71pre-configure {
72    system "cd ${worksrcpath} && ./autogen"
73}
74
75variant debug description {Provide debug symbols} {
76    configure.args-append --enable-debug=yes
77}