Ticket #46370: Portfile

File Portfile, 1.8 KB (added by RJVB (René Bertin), 9 years ago)
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 121955 2014-07-12 05:25:40Z sean@macports.org $
3
4PortSystem          1.0
5PortGroup           cmake 1.0
6PortGroup           muniversal 1.0
7
8name                Vc
9version             0.7.4
10revision            1
11categories          math devel
12license             LGPL-3
13maintainers         gmail.com:rjvbertin
14description         Portable, zero-overhead SIMD library for C++
15long_description \
16    Vc is a free software library to ease explicit vectorization of \
17    C++ code. It has an intuitive API and provides portability \
18    between different compilers and compiler versions as well as \
19    portability between different vector instruction sets. Thus an \
20    application written with Vc can be compiled for \n\
21    AVX \n\
22    SSE2 up to SSE4.2 \n\
23    SSE4a, XOP, FMA4, and FMA \n\
24    Scalar (fallback which works everywhere)
25platforms           darwin
26
27homepage            http://code.compeng.uni-frankfurt.de/projects/vc
28                    # Attention: the download directory changes for each release ...
29master_sites        http://code.compeng.uni-frankfurt.de/attachments/download/183/
30
31checksums           rmd160  0878034cd1b78ad0429974c81502d2912c6f3e1b \
32                    sha256  a4e5c5d7b51b4b04e6ef87e28a5b8b0108c9788739b044f96fb64f274d249063
33
34post-extract        { file mkdir ${workpath}/build }
35# standard post-arg, where to find the primary CMakeLists.txt file.
36default configure.post_args {../${worksrcdir}}
37default configure.dir       {${workpath}/build}
38default build.dir           {${workpath}/build}
39
40
41# livecheck isn't that useful as there has been a 0.99.71 release in June 2013 ...
42livecheck.url       ${master_sites}
43livecheck.regex     Vc-(\\d+(\\.\\d+)+)