1 | # $Id: Portfile 92889 2012-05-10 07:46:46Z jmr@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup muniversal 1.0 |
---|
5 | |
---|
6 | name cloog |
---|
7 | version 0.16.3 |
---|
8 | revision 1 |
---|
9 | categories devel math |
---|
10 | license LGPL-2.1 |
---|
11 | |
---|
12 | maintainers openmaintainer adfernandes |
---|
13 | platforms darwin |
---|
14 | |
---|
15 | description The CLooG Code Generator in the Polyhedral Model's Home |
---|
16 | |
---|
17 | long_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 | |
---|
28 | license LGPL-2+ |
---|
29 | homepage http://repo.or.cz/w/cloog.git |
---|
30 | master_sites http://www.bastoul.net/cloog/pages/download/count.php3?url=./ |
---|
31 | |
---|
32 | checksums md5 a0f8a241cd1c4f103f8d2c91642b3498 \ |
---|
33 | sha1 f6765fa231f38c2f747e2b05e4eaaa470fd5851a \ |
---|
34 | rmd160 e2cd5f93b2221c037027b20ce23636952902235c |
---|
35 | |
---|
36 | depends_lib port:gmp |
---|
37 | |
---|
38 | post-build { |
---|
39 | # Remove extraneous '-arch' flag from the 'pkgconfig' files (#34395) |
---|
40 | set files [glob -directory ${worksrcpath} *.pc */*.pc ] |
---|
41 | if {[variant_isset universal]} { |
---|
42 | foreach arch ${universal_archs_to_use} { |
---|
43 | lappend files [glob -directory ${worksrcpath}-${arch} *.pc */*.pc ] |
---|
44 | } |
---|
45 | } |
---|
46 | foreach file ${files} { |
---|
47 | reinplace -E "s@-arch +\[A-Za-z0-9_\]+ *@@g" "${file}" |
---|
48 | } |
---|
49 | } |
---|
50 | |
---|
51 | livecheck.type regex |
---|
52 | livecheck.url ${master_sites} |
---|
53 | livecheck.regex ${name}-(\[0-9.\]+)\\.tar.gz |
---|