[150413] trunk/dports/devel/cloog

larryv at macports.org larryv at macports.org
Mon Jul 18 21:51:24 PDT 2016


Revision: 150413
          https://trac.macports.org/changeset/150413
Author:   larryv at macports.org
Date:     2016-07-18 21:51:24 -0700 (Mon, 18 Jul 2016)
Log Message:
-----------
cloog-devel: Replace with cloog

There isn't much point in keeping this around: The latest GCC ports
don't even use cloog, and upstream development is moribund.

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

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

Modified: trunk/dports/devel/cloog/Portfile
===================================================================
--- trunk/dports/devel/cloog/Portfile	2016-07-19 04:51:21 UTC (rev 150412)
+++ trunk/dports/devel/cloog/Portfile	2016-07-19 04:51:24 UTC (rev 150413)
@@ -2,20 +2,13 @@
 # $Id$
 
 PortSystem          1.0
+if {${subport} eq "cloog"} {
 PortGroup           muniversal 1.0
+}
 
 name                cloog
-conflicts           cloog-devel
 epoch               1
 version             0.18.3
-
-subport cloog-devel {
-    conflicts       cloog
-    epoch           0
-    set gitSHA1     10a5ba4075460ac637c2072475339cc33026e10a
-    version         0.18.3
-}
-
 categories          devel math
 platforms           darwin
 license             LGPL-2.1+
@@ -39,64 +32,46 @@
                     a very effective code.
 homepage            http://www.cloog.org
 
-subport cloog {
 depends_lib         port:gmp path:lib/pkgconfig/isl.pc:isl
 
 master_sites        http://www.bastoul.net/cloog/pages/download/count.php3?url=./
 checksums           rmd160  2759b99eea48bef983ec49d97d5a5dfb6a17b461 \
                     sha256  460c6c740acb8cdfbfbb387156b627cf731b3837605f2ec0001d079d89c69734
-}
-subport cloog-devel {
-    depends_lib     port:gmp path:lib/pkgconfig/isl.pc:isl-devel
 
-    master_sites    http://repo.or.cz/w/cloog.git/snapshot
-    distname        ${gitSHA1}
-    checksums       rmd160  c6687ad0f838e970e7b219b3228121c3afc61ca2 \
-                    sha256  35e1c0dd07185b1b8cffefbb85efbae63587e41bca1fad00eb76dee960753c92
-
-    worksrcdir      cloog-[string range $gitSHA1 0 6]
-}
-
 # prevent -L/lib from being added to LDFLAGS
 # see http://groups.google.com/group/isl-development/t/37ad876557e50f2c
-subport cloog {
 patchfiles          patch-configure.diff
-}
-subport cloog-devel {
-    patchfiles      patch-ax_create_pkgconfig_info.m4.diff \
-                    patch-configure.ac.diff
-}
 
 # Don't link using "-flat_namespace -undefined suppress" on Yosemite and
 # later (#45706).
-subport cloog {
 patchfiles-append   yosemite-libtool.patch
-}
 
-subport cloog-devel {
-    use_autoreconf      yes
-}
-
 configure.args-append   --disable-silent-rules \
                         --with-gmp=system \
                         --with-isl=system \
                         --with-osl=no
 
+subport cloog {
 variant osl description {Build with OpenScop support (causes tests to fail)} {
     ui_warn "This variant causes tests to fail"
     depends_lib-append      port:openscop
     configure.args-replace  --with-osl=no --with-osl=system
 }
+}
 
 test.run            yes
 test.target         check
 
-subport cloog {
 livecheck.type      regex
 livecheck.url       [lindex ${master_sites} 0]
 livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}
-}
+
 subport cloog-devel {
-    livecheck.type  moddate
-    livecheck.url   http://repo.or.cz/w/cloog.git/rss/refs/heads/master
+    replaced_by         cloog
+    PortGroup           obsolete 1.0
+    version             0.18.3
+    revision            1
+    maintainers         larryv
+    long_description    "This port has been replaced by ${replaced_by}."
+    homepage            http://www.cloog.org
 }

Deleted: trunk/dports/devel/cloog/files/patch-ax_create_pkgconfig_info.m4.diff
===================================================================
--- trunk/dports/devel/cloog/files/patch-ax_create_pkgconfig_info.m4.diff	2016-07-19 04:51:21 UTC (rev 150412)
+++ trunk/dports/devel/cloog/files/patch-ax_create_pkgconfig_info.m4.diff	2016-07-19 04:51:24 UTC (rev 150413)
@@ -1,13 +0,0 @@
---- 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)

Deleted: trunk/dports/devel/cloog/files/patch-configure.ac.diff
===================================================================
--- trunk/dports/devel/cloog/files/patch-configure.ac.diff	2016-07-19 04:51:21 UTC (rev 150412)
+++ trunk/dports/devel/cloog/files/patch-configure.ac.diff	2016-07-19 04:51:24 UTC (rev 150413)
@@ -1,11 +0,0 @@
---- 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/20160718/09f98027/attachment-0001.html>


More information about the macports-changes mailing list