Ticket #34395: Portfile

File Portfile, 2.0 KB (added by adfernandes (Andrew Fernandes), 13 years ago)
Line 
1# $Id: Portfile 92889 2012-05-10 07:46:46Z jmr@macports.org $
2
3PortSystem          1.0
4PortGroup           muniversal 1.0
5
6name                cloog
7version             0.16.3
8revision            1
9categories          devel math
10license             LGPL-2.1
11
12maintainers         openmaintainer adfernandes
13platforms           darwin
14
15description         The CLooG Code Generator in the Polyhedral Model's Home
16
17long_description    CLooG is a free software and library to generate code for scanning Z-polyhedra. \
18                    That is, it finds a code (e.g. in C, FORTRAN...) that reaches each \
19                    integral point of one or more parameterized polyhedra. CLooG has been \
20                    originally written to solve the code generation problem for optimizing \
21                    compilers based on the polytope model. Nevertheless it is used now in \
22                    various area e.g. to build control automata for high-level synthesis \
23                    or to find the best polynomial approximation of a function. CLooG may \
24                    help in any situation where scanning polyhedra matters. While the user \
25                    has full control on generated code quality, CLooG is designed to avoid \
26                    control overhead and to produce a very effective code.
27
28license             LGPL-2+
29homepage            http://repo.or.cz/w/cloog.git
30master_sites        http://www.bastoul.net/cloog/pages/download/count.php3?url=./
31
32checksums           md5     a0f8a241cd1c4f103f8d2c91642b3498 \
33                    sha1    f6765fa231f38c2f747e2b05e4eaaa470fd5851a \
34                    rmd160  e2cd5f93b2221c037027b20ce23636952902235c
35
36depends_lib         port:gmp
37
38post-destroot {
39    # Remove extraneous '-arch' flag from the 'pkgconfig' files (#34395)
40    foreach file [ glob -directory ${destroot}${prefix}/lib/pkgconfig *.pc ] {
41        reinplace -E "s@-arch +\[A-Za-z0-9_\]+ +@@g" "${file}"
42    }
43}
44
45livecheck.type      regex
46livecheck.url       ${master_sites}
47livecheck.regex     ${name}-(\[0-9.\]+)\\.tar.gz