source: trunk/dports/devel/cloog/Portfile

Last change on this file was 150414, checked in by larryv@…, 16 months ago

cloog: Update to 0.18.4

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.0 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 150414 2016-07-19 04:51:26Z ryandesign@macports.org $
3
4PortSystem          1.0
5if {${subport} eq "cloog"} {
6PortGroup           muniversal 1.0
7}
8
9name                cloog
10epoch               1
11version             0.18.4
12categories          devel math
13platforms           darwin
14license             LGPL-2.1+
15maintainers         larryv
16
17description         CLooG, the Chunky Loop Generator
18long_description    CLooG is a free software and library to generate \
19                    code for scanning Z-polyhedra. That is, it finds \
20                    a code (e.g. in C, FORTRAN...) that reaches each \
21                    integral point of one or more parameterized \
22                    polyhedra. CLooG has been originally written to \
23                    solve the code generation problem for optimizing \
24                    compilers based on the polytope model. \
25                    Nevertheless it is used now in various area e.g. \
26                    to build control automata for high-level synthesis \
27                    or to find the best polynomial approximation of \
28                    a function. CLooG may help in any situation where \
29                    scanning polyhedra matters. While the user has \
30                    full control on generated code quality, CLooG is \
31                    designed to avoid control overhead and to produce \
32                    a very effective code.
33homepage            http://www.cloog.org
34
35depends_lib         port:gmp path:lib/pkgconfig/isl.pc:isl
36
37master_sites        http://www.bastoul.net/cloog/pages/download/count.php3?url=./
38checksums           rmd160  12d7a27442fc95f01f7c6445b5559579f8f614cc \
39                    sha256  325adf3710ce2229b7eeb9e84d3b539556d093ae860027185e7af8a8b00a750e
40
41# prevent -L/lib from being added to LDFLAGS
42# see http://groups.google.com/group/isl-development/t/37ad876557e50f2c
43patchfiles          patch-configure.diff
44
45# Don't link using "-flat_namespace -undefined suppress" on Yosemite and
46# later (#45706).
47patchfiles-append   yosemite-libtool.patch
48
49configure.args-append   --disable-silent-rules \
50                        --with-gmp=system \
51                        --with-isl=system \
52                        --with-osl=no
53
54subport cloog {
55variant osl description {Build with OpenScop support (causes tests to fail)} {
56    ui_warn "This variant causes tests to fail"
57    depends_lib-append      port:openscop
58    configure.args-replace  --with-osl=no --with-osl=system
59}
60}
61
62test.run            yes
63test.target         check
64
65livecheck.type      regex
66livecheck.url       [lindex ${master_sites} 0]
67livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}
68
69subport cloog-devel {
70    replaced_by         cloog
71    PortGroup           obsolete 1.0
72    version             0.18.3
73    revision            1
74    maintainers         larryv
75    long_description    "This port has been replaced by ${replaced_by}."
76    homepage            http://www.cloog.org
77}
Note: See TracBrowser for help on using the repository browser.