# -*- 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 cmake 1.1 PortGroup mpi 1.0 name icet version 2.1.1 revision 0 categories graphics license BSD maintainers {mcalhoun @MarcusCalhoun-Lopez} openmaintainer description a high-performance sort-last parallel rendering library long_description The Image Composition Engine for Tiles (IceT) is {*}${description}. homepage https://icet.sandia.gov/ # see https://trac.macports.org/ticket/66731 #master_sites https://icet.sandia.gov/_assets/files/ master_sites macports_distfiles distname IceT-[join [split ${version} .] -] checksums rmd160 dcbadc1f66fd6afd71c4474b576e70cfbe5e650d \ sha256 6eaf0442bf6832ce6c8a50805cf9279894fbcd5886cf6ea214b09d24f111fa33 \ size 170423 mpi.setup require # apply upstream patches to accommodate ParaView # install CMake files in correct location # allow ParaView to find libraries patchfiles-append patch-upstream.diff \ patch-cmake_location.diff \ patch-libraries.diff post-patch { reinplace "s|__MACPORTS_PREFIX__|${prefix}|g" ${worksrcpath}/cmake/IceTConfig.cmake.in } configure.args-append -DBUILD_SHARED_LIBS=ON \ -DGLUT_glut_LIBRARY=/System/Library/Frameworks/GLUT.framework livecheck.type regex #livecheck.url ${homepage} #livecheck.regex "IceT ((\\d+(?:\\.\\d+)*)) Released" livecheck.url https://gitlab.kitware.com/icet/icet/-/tags livecheck.regex >IceT-(\[0-9.\]+)<