Ticket #40345: libdynd.diff
File libdynd.diff, 1.7 KB (added by ryandesign (Ryan Carsten Schmidt), 11 years ago) |
---|
-
Portfile
5 5 PortGroup github 1.0 6 6 PortGroup cmake 1.0 7 7 8 set version_string "v0.4.2" 9 set git_sha1 "41a91350c053c7f7a5f92e440fb05ae9ae700c0b" 10 set distname_suf "07f39d0" 8 set git_sha1 41a91350c053c7f7a5f92e440fb05ae9ae700c0b 9 github.setup ContinuumIO libdynd 0.4.2 v 11 10 12 github.setup ContinuumIO libdynd ${version_string}13 14 name libdynd15 11 categories devel math 16 12 platforms darwin 17 13 license BSD … … 21 17 description LibDyND is a C++ library for dynamic, multidimensional arrays. 22 18 long_description ${description} 23 19 24 homepage https://github.com/ContinuumIO/libdynd25 26 20 checksums rmd160 98048cb1b7454f0e8ceebb9bdb0cd076a39b82ba \ 27 21 sha256 9afd2a02b162a3fffec89bba83ff5cdb295d2f941920f49689297f77082f333e 28 22 29 worksrcdir ContinuumIO-${name}-${distname_suf}30 31 23 patchfiles patch-CMakeLists.txt.diff 32 24 33 25 post-patch { 34 26 reinplace "s|@@DYND_GIT_SHA1@@|${git_sha1}|g" ${worksrcpath}/CMakeLists.txt 35 reinplace "s|@@DYND_VERSION_STRING@@| ${version_string}|g" ${worksrcpath}/CMakeLists.txt27 reinplace "s|@@DYND_VERSION_STRING@@|v${version}|g" ${worksrcpath}/CMakeLists.txt 36 28 } 37 29 38 set build_dir ${worksrcpath}/build 30 configure.dir ${worksrcpath}/build 31 build.dir ${configure.dir} 39 32 pre-configure { 40 file mkdir ${ build_dir}33 file mkdir ${configure.dir} 41 34 } 42 configure.dir ${build_dir}43 build.dir ${build_dir}44 35 45 36 configure.args-append \ 46 37 ../ \