# -*- 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: Portfile 146903 2016-03-20 14:07:23Z stromnov@macports.org $ PortSystem 1.0 PortGroup github 1.0 PortGroup cmake 1.0 set git_sha1 341d6d91931fdb04ad657d27ed740cf533fc925b github.setup libdynd libdynd 0.7.2 v categories devel math platforms darwin license BSD maintainers stromnov openmaintainer description LibDyND is a C++ library for dynamic, multidimensional arrays. long_description ${description} checksums rmd160 58a444d46d348fddc6f4cf04669d301dbb47981e \ sha256 7bc14b26537a0b5c0e8ad9d8b0143b94eab38917ca42082be44cfa0fbb605e01 patchfiles-append patch-CMakeLists.txt.diff post-patch { reinplace "s|@@DYND_GIT_SHA1@@|${git_sha1}|g" ${worksrcpath}/CMakeLists.txt reinplace "s|@@DYND_VERSION_STRING@@|v${version}|g" ${worksrcpath}/CMakeLists.txt } cmake.out_of_source yes configure.args-append \ -DDYND_SHARED_LIB:BOOL=ON \ -DDYND_CUDA:BOOL=OFF \ -DDYND_FFTW:BOOL=OFF \ -DDYND_LLVM:BOOL=OFF \ -DDYND_INSTALL_LIB:BOOL=ON \ -DDYND_BUILD_TESTS:BOOL=OFF \ -DDYND_BUILD_BENCHMARKS:BOOL=OFF