[117268] trunk/dports/devel

jeremyhu at macports.org jeremyhu at macports.org
Thu Feb 20 18:08:19 PST 2014


Revision: 117268
          https://trac.macports.org/changeset/117268
Author:   jeremyhu at macports.org
Date:     2014-02-20 18:08:19 -0800 (Thu, 20 Feb 2014)
Log Message:
-----------
cloog-devel: New port

Modified Paths:
--------------
    trunk/dports/devel/cloog/Portfile

Added Paths:
-----------
    trunk/dports/devel/cloog-devel/
    trunk/dports/devel/cloog-devel/Portfile
    trunk/dports/devel/cloog-devel/files/
    trunk/dports/devel/cloog-devel/files/patch-ax_create_pkgconfig_info.m4.diff
    trunk/dports/devel/cloog-devel/files/patch-configure.ac.diff

Modified: trunk/dports/devel/cloog/Portfile
===================================================================
--- trunk/dports/devel/cloog/Portfile	2014-02-20 23:28:13 UTC (rev 117267)
+++ trunk/dports/devel/cloog/Portfile	2014-02-21 02:08:19 UTC (rev 117268)
@@ -5,6 +5,8 @@
 PortGroup           muniversal 1.0
 
 name                cloog
+conflicts           cloog-devel
+
 version             0.18.0
 epoch               1
 

Added: trunk/dports/devel/cloog-devel/Portfile
===================================================================
--- trunk/dports/devel/cloog-devel/Portfile	                        (rev 0)
+++ trunk/dports/devel/cloog-devel/Portfile	2014-02-21 02:08:19 UTC (rev 117268)
@@ -0,0 +1,56 @@
+# -*- 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
+# $Id$
+
+PortSystem          1.0
+PortGroup           muniversal 1.0
+
+name                cloog-devel
+conflicts           cloog
+
+version             0.18.2
+set git_commit      2d8b7c6b43ee46fee978a57fa6877de49675f357
+
+categories          devel math
+
+maintainers         nomaintainer
+platforms           darwin
+
+description         CLooG, the Chunky Loop Generator, generates code for scanning Z-polyhedra
+
+long_description    CLooG is a free software and library to generate code for scanning Z-polyhedra. \
+                    That is, it finds a code (e.g. in C, FORTRAN...) that reaches each \
+                    integral point of one or more parameterized polyhedra. CLooG has been \
+                    originally written to solve the code generation problem for optimizing \
+                    compilers based on the polytope model. Nevertheless it is used now in \
+                    various area e.g. to build control automata for high-level synthesis \
+                    or to find the best polynomial approximation of a function. CLooG may \
+                    help in any situation where scanning polyhedra matters. While the user \
+                    has full control on generated code quality, CLooG is designed to avoid \
+                    control overhead and to produce a very effective code.
+
+license             LGPL-2.1+
+homepage            http://repo.or.cz/w/cloog.git
+master_sites        http://repo.or.cz/w/cloog.git/snapshot
+
+distname            ${git_commit}
+worksrcdir          cloog
+
+checksums           rmd160  0d02471273918c991eab74bd0e9e7dca18820965 \
+                    sha256  1755b79ffb660967b08fe7df0017934c13a0b292dc248040abb85f4cdfc8737f
+
+depends_lib         port:gmp port:isl-devel
+
+# prevent -L/lib from being added to LDFLAGS
+# see http://groups.google.com/group/isl-development/t/37ad876557e50f2c 
+patchfiles          patch-ax_create_pkgconfig_info.m4.diff \
+                    patch-configure.ac.diff
+
+use_autoreconf      yes
+autoreconf.args     -fvi
+
+configure.args-append \
+                    --with-isl=system
+
+livecheck.type      regex
+livecheck.url       ${master_sites}
+livecheck.regex     ${name}-(\[0-9.\]+)\\.tar.gz


Property changes on: trunk/dports/devel/cloog-devel/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/devel/cloog-devel/files/patch-ax_create_pkgconfig_info.m4.diff
===================================================================
--- trunk/dports/devel/cloog-devel/files/patch-ax_create_pkgconfig_info.m4.diff	                        (rev 0)
+++ trunk/dports/devel/cloog-devel/files/patch-ax_create_pkgconfig_info.m4.diff	2014-02-21 02:08:19 UTC (rev 117268)
@@ -0,0 +1,13 @@
+--- m4/ax_create_pkgconfig_info.m4.orig	2012-05-10 13:39:22.000000000 -0700
++++ m4/ax_create_pkgconfig_info.m4	2012-05-10 13:39:36.000000000 -0700
+@@ -214,8 +214,8 @@
+ Description: @PACKAGE_DESCRIPTION@
+ Version: @PACKAGE_VERSION@
+ Requires: @PACKAGE_REQUIRES@
+-Libs: -L\${libdir} @LDFLAGS@ @LIBS@
+-Cflags: -I\${includedir} @CPPFLAGS@
++Libs: -L\${libdir} @LIBS@
++Cflags: -I\${includedir}
+ AXEOF
+ fi # DONE generate $pkgconfig_generate.in
+ AC_MSG_NOTICE(creating $pkgconfig_generate)

Added: trunk/dports/devel/cloog-devel/files/patch-configure.ac.diff
===================================================================
--- trunk/dports/devel/cloog-devel/files/patch-configure.ac.diff	                        (rev 0)
+++ trunk/dports/devel/cloog-devel/files/patch-configure.ac.diff	2014-02-21 02:08:19 UTC (rev 117268)
@@ -0,0 +1,11 @@
+--- configure.ac.orig	2014-02-20 17:56:01.000000000 -0800
++++ configure.ac	2014-02-20 17:56:13.000000000 -0800
+@@ -119,7 +119,7 @@ system)
+ 	CPPFLAGS="-I$with_gmp_prefix/include $CPPFLAGS"
+     fi
+     
+-    if test "$with_gmp_exec_prefix" != "yes" ; then
++    if test "x$with_gmp_exec_prefix" != "x" ; then
+ 	LDFLAGS="-L$with_gmp_exec_prefix/lib $LDFLAGS"
+     fi
+     ;;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140220/d1a9c3c9/attachment.html>


More information about the macports-changes mailing list