# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup cmake 1.0 name gerbil version 1.0b checksums rmd160 5004777d0efb900968f5ca2e4f0545ccc67ac0f3 \ sha256 710fc8d7864d5385949a51d9dbd2259f4835449ec7de5b6200ad3d104cd9684f categories science license GPL-3 LGPL-3 maintainers cal openmaintainer platforms darwin description Hyperspectral Image Visualization & Analysis Framework long_description \ Gerbil consists of a new, interactive visualization methods for \ multispectral and hyperspectral image data, and a toolbox of common and \ novel algorithms, e.g. for segmentation. homepage http://gerbilvis.org/ master_sites http://files.gerbilvis.org/dl/ distname ${distname}-src use_bzip2 yes worksrcdir ${name}-${version} patchfiles \ patch-gui__model__representation.cpp-include-necessary-header.diff \ patch-lsb__lsbhreader.cpp-missing-include.diff \ patch-fix-moc-run-with-modern-boost.diff livecheck.type regex livecheck.url ${master_sites} livecheck.regex "[quotemeta ${name}]-(\\d+(\\.\\d+)*\[a-z]?)-src[quotemeta ${extract.suffix}]" depends_lib port:qt4-mac \ port:opencv \ port:boost \ port:gdal \ port:tbb cmake.out_of_source yes configure.args-append \ -DOpenCV_DIR="${prefix}/lib/cmake" \ -DCMAKE_BUILD_TYPE=Release \ -DBoost_DIR="${prefix}" # the gerbil makefiles do not provide an install target destroot { # install binaries xinstall -m 755 "${build.dir}/bin/gerbil" "${destroot}${prefix}/bin/" xinstall -m 755 "${build.dir}/bin/qgerbil" "${destroot}${prefix}/bin/" # create directories for shared files xinstall -d -m 755 "${destroot}${prefix}/share/doc/${name}" # install shared files set sharefiles [list "AUTHORS" "COPYING" "README.txt"] foreach file $sharefiles { xinstall -m 644 "${worksrcpath}/${file}" "${destroot}${prefix}/share/doc/${name}/${file}" } }