[124978] trunk/dports/devel/ppl

larryv at macports.org larryv at macports.org
Mon Sep 1 13:31:43 PDT 2014


Revision: 124978
          https://trac.macports.org/changeset/124978
Author:   larryv at macports.org
Date:     2014-09-01 13:31:42 -0700 (Mon, 01 Sep 2014)
Log Message:
-----------
ppl: Update to 1.1

Also:
- Remove muniversal-1.0.
- Switch to xz distfile.
- Remove unnecessary patch to handle GMP 5.1.
- Restrict to building C and C++ interfaces only.
- Refine livecheck.
- Reorganize, rearrange, reword.

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

Removed Paths:
-------------
    trunk/dports/devel/ppl/files/

Property Changed:
----------------
    trunk/dports/devel/ppl/


Property changes on: trunk/dports/devel/ppl
___________________________________________________________________
Added: svn:mergeinfo
   + /users/larryv/dports/devel/ppl:110921-124977

Modified: trunk/dports/devel/ppl/Portfile
===================================================================
--- trunk/dports/devel/ppl/Portfile	2014-09-01 19:15:30 UTC (rev 124977)
+++ trunk/dports/devel/ppl/Portfile	2014-09-01 20:31:42 UTC (rev 124978)
@@ -2,15 +2,13 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           muniversal 1.0
 
 name                ppl
-version             1.0
-revision            2
+version             1.1
 categories          devel math
 platforms           darwin
-maintainers         nomaintainer
 license             GPL-3+
+maintainers         nomaintainer
 
 description         Parma Polyhedra Library
 long_description    The Parma Polyhedra Library (PPL) provides numerical \
@@ -28,36 +26,36 @@
                     programming solver, and primitives for termination \
                     analysis via the automatic synthesis of linear ranking \
                     functions.
+homepage            http://bugseng.com/products/ppl
 
-homepage            http://bugseng.com/products/ppl/
 master_sites        http://bugseng.com/products/ppl/download/ftp/releases/${version} \
-                    ftp://ftp.cs.unipr.it/pub/ppl/releases/${version}/
-use_bzip2           yes
+                    ftp://ftp.cs.unipr.it/pub/ppl/releases/${version} \
+                    http://bugseng.com/products/ppl/download/ftp/snapshots
+use_xz              yes
+checksums           rmd160  2c7b72a527af9d852a150a80d094a168c4a58ae5 \
+                    sha256  c48ccd74664ec2cd3cdb5e37f287974ccb062f0384dc658d4053c424b19ad178
 
-checksums           rmd160  eb239b1ef6eed3963c604cab4c8a9d5d48813c00 \
-                    sha256  c169e962b8a0f7b7bcde5c5e0e2235248f1d78b155dfad684591d1a57e330b54
-
 depends_build       port:m4
 depends_skip_archcheck-append m4
 
-depends_lib         port:gmp \
-                    port:glpk
+depends_lib         port:glpk port:gmp
 
-patchfiles          gmp-5.1.patch 
+# Generate a newer libtool that passes -stdlib when linking dylibs.
+use_autoreconf          yes
+autoreconf.post_args    --force
 
-# Teach glibtool about -stdlib=libc++
-use_autoreconf  yes
-autoreconf.args -fvi
-
 compiler.blacklist-append   gcc-3.3 gcc-4.0 apple-gcc-4.0
 compiler.fallback-append    apple-gcc-4.2
 
+# TODO: Enable other interfaces via subports.
+configure.args      --enable-interfaces='cxx c'
+
 if {[regexp clang|llvm ${configure.compiler}]} {
     # As of 'ppl-0.12.1', we need to be careful about use of the
     # '--enable-fpmath' flag! Newer versions of 'clang' will error about
     # '-frounding-math' being unsupported due to '-Werror'. Older
     # versions of 'clang' will just warn about '-frounding-math' despite
-    # '-Werror'. And 'llvm-gcc' does not '-frounding-math' and siliently
+    # '-Werror'. And 'llvm-gcc' does not '-frounding-math' and silently
     # ignores it.
     configure.args-append   --enable-fpmath=no
     configure.ccache        no
@@ -68,5 +66,5 @@
 test.target         check
 
 livecheck.type      regex
-livecheck.url       ${homepage}Download/
-livecheck.regex     ${name}-(\[0-9.\]+)\\.tar
+livecheck.url       http://bugseng.com/products/ppl/download/ftp/releases
+livecheck.regex     {([\d.]+)/}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140901/2d3a5ad8/attachment.html>


More information about the macports-changes mailing list