Ticket #34395: patch-cloog-Portfile.diff
File patch-cloog-Portfile.diff, 1.6 KB (added by pixilla (Bradley Giesbrecht), 13 years ago) |
---|
-
Portfile
12 12 maintainers openmaintainer adfernandes 13 13 platforms darwin 14 14 15 description The CLooG Code Generator in the Polyhedral Model 's Home15 description The CLooG Code Generator in the Polyhedral Models Home 16 16 17 17 long_description CLooG is a free software and library to generate code for scanning Z-polyhedra. \ 18 18 That is, it finds a code (e.g. in C, FORTRAN...) that reaches each \ … … 25 25 has full control on generated code quality, CLooG is designed to avoid \ 26 26 control overhead and to produce a very effective code. 27 27 28 license LGPL-2+ 28 29 homepage http://repo.or.cz/w/cloog.git 29 30 master_sites http://www.bastoul.net/cloog/pages/download/count.php3?url=./ 30 31 … … 34 35 35 36 depends_lib port:gmp 36 37 38 post-build { 39 # Remove extraneous '-arch' flag from the 'pkgconfig' files (#34395) 40 foreach file [glob -nocomplain -directory ${worksrcpath} *.pc */*.pc] { 41 reinplace -E "s@-arch +\[A-Za-z0-9_\]+ *@@g" "${file}" 42 } 43 if {[variant_isset universal]} { 44 foreach arch ${universal_archs_to_use} { 45 foreach file [glob -nocomplain -directory ${worksrcpath}-${arch} *.pc */*.pc ] { 46 reinplace -E "s@-arch +\[A-Za-z0-9_\]+ *@@g" "${file}" 47 } 48 } 49 } 50 } 51 37 52 livecheck.type regex 38 53 livecheck.url ${master_sites} 39 54 livecheck.regex ${name}-(\[0-9.\]+)\\.tar.gz