source: trunk/dports/devel/libdynd/Portfile

Last change on this file was 146903, checked in by stromnov@…, 18 months ago

libdynd: update to version 0.7.2

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
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: Portfile 146903 2016-03-20 14:07:23Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6PortGroup           cmake 1.0
7
8set git_sha1        341d6d91931fdb04ad657d27ed740cf533fc925b
9
10github.setup        libdynd libdynd 0.7.2 v
11
12categories          devel math
13platforms           darwin
14license             BSD
15
16maintainers         stromnov openmaintainer
17
18description         LibDyND is a C++ library for dynamic, multidimensional arrays.
19long_description    ${description}
20
21checksums           rmd160  58a444d46d348fddc6f4cf04669d301dbb47981e \
22                    sha256  7bc14b26537a0b5c0e8ad9d8b0143b94eab38917ca42082be44cfa0fbb605e01
23
24patchfiles-append   patch-CMakeLists.txt.diff
25
26post-patch {
27    reinplace "s|@@DYND_GIT_SHA1@@|${git_sha1}|g" ${worksrcpath}/CMakeLists.txt
28    reinplace "s|@@DYND_VERSION_STRING@@|v${version}|g" ${worksrcpath}/CMakeLists.txt
29}
30
31cmake.out_of_source yes
32
33configure.args-append \
34                    -DDYND_SHARED_LIB:BOOL=ON \
35                    -DDYND_CUDA:BOOL=OFF \
36                    -DDYND_FFTW:BOOL=OFF \
37                    -DDYND_LLVM:BOOL=OFF \
38                    -DDYND_INSTALL_LIB:BOOL=ON \
39                    -DDYND_BUILD_TESTS:BOOL=OFF \
40                    -DDYND_BUILD_BENCHMARKS:BOOL=OFF
Note: See TracBrowser for help on using the repository browser.