# -*- 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 PortSystem 1.0 PortGroup github 1.0 github.setup NCAR aircraft_oap 3.1.0 v # Note: The xpms2d executable appears to still be at version 3.0.2. revision 1 epoch 1 categories science license permissive maintainers nomaintainer description A collection of programs for manipulating Optical Array Probe data. long_description {*}${description} \ Consists of several translators to convert native probe data into a common OAP file \ format, a processor, and a display program. fetch.type git fetch { # I don't see any provisions for git submodules in MacPorts, so we have to clone by hand: if {![file exists ${workpath}/${worksrcdir}]} { system "${prefix}/bin/git clone --recursive ${git.url} ${workpath}/${worksrcdir}" } system -W ${workpath}/${worksrcdir} "${prefix}/bin/git checkout -q ${git.branch}" } depends_fetch port:git depends_build-append \ port:scons # Note: scons is difficult to get to work using boost from the boost PG # so stick with the boost shim port as its dependency. depends_lib-append port:boost \ port:libpng \ port:log4cpp \ port:netcdf \ port:netcdf-cxx \ port:openmotif \ port:xercesc3 \ port:xorg-libX11 \ port:xorg-libXt \ port:zlib use_configure no build.args-append CC=${configure.cc} \ CXX=${configure.cxx} \ CPP=${configure.cpp} use_parallel_build no build.cmd ${prefix}/bin/scons build.args OPT_PREFIX=${prefix} build.target destroot.cmd ${build.cmd} destroot.target install destroot.args {*}${build.args} INSTALL_PREFIX=${destroot}${prefix} destroot.destdir