[150628] trunk/dports/math/gnudatalanguage

takeshi at macports.org takeshi at macports.org
Sun Jul 24 17:07:22 PDT 2016


Revision: 150628
          https://trac.macports.org/changeset/150628
Author:   takeshi at macports.org
Date:     2016-07-24 17:07:21 -0700 (Sun, 24 Jul 2016)
Log Message:
-----------
gnudatalanguate: update to 0.9.6. Fix the problem finding HDF5. Switch to plplot from plplot510. Closing #51865 and #51555.

Modified Paths:
--------------
    trunk/dports/math/gnudatalanguage/Portfile

Removed Paths:
-------------
    trunk/dports/math/gnudatalanguage/files/

Modified: trunk/dports/math/gnudatalanguage/Portfile
===================================================================
--- trunk/dports/math/gnudatalanguage/Portfile	2016-07-24 23:13:02 UTC (rev 150627)
+++ trunk/dports/math/gnudatalanguage/Portfile	2016-07-25 00:07:21 UTC (rev 150628)
@@ -7,8 +7,7 @@
 PortGroup                   mpi 1.0
 
 name                        gnudatalanguage
-version                     0.9.5
-revision                    11
+version                     0.9.6
 epoch                       2
 
 compilers.choose            cc cxx
@@ -25,7 +24,7 @@
 homepage                    http://gnudatalanguage.sourceforge.net/
 master_sites                sourceforge:${name}:gdl \
                             ftp://ftp.soest.hawaii.edu/pwessel/gshhs:gshhs
-set gdlsrc          gdl-${version}.tar.gz
+set gdlsrc          gdl-${version}v2.tgz
 set srcversion      1.13
 set dataversion     2.1.0
 set gshhssrc        gshhs_${srcversion}_src.zip
@@ -34,16 +33,15 @@
 worksrcdir          gdl-${version}
 
 checksums           ${gdlsrc} \
-                    md5     2d02283c544820729479a57545d5b599 \
-                    sha1    b512497030ec9432aebd075fefb41d674d736d72 \
-                    rmd160  f51e6bf3410c43e3e25de1af5f59fa4e58c30452
+                    rmd160  a9216338b8fd89938078172bc57ac387616a0c0f \
+                    sha256  cfb005ee1d9c843b26cc474618225ce68a1f0bfaeddcd45bf63a0a8fb62eedb4
 
 depends_build-append        port:pkgconfig
 depends_lib                 port:zlib \
                             port:gsl \
                             port:ncurses \
                             port:readline \
-                            port:plplot510 \
+                            port:plplot \
                             port:netcdf-cxx \
                             port:hdf4 \
                             port:hdf5 \
@@ -60,8 +58,6 @@
                             port:gettext
 conflicts_build             antlr
 
-patchfiles                  patch-CMakeLists.txt.diff
-
 post-patch {
    # Avoid using heimdal's broken fnmatch.h
    reinplace "s|<\\(fnmatch\.h\\)>|\"/usr/include/\\1\"|" ${worksrcpath}/src/file.cpp
@@ -82,7 +78,7 @@
                         -DGSLDIR=${prefix} \
                         -DGSL_INCLUDE_DIR=${prefix}/include \
                         -DHDF5=ON \
-                        -DHDF5DIR=${prefix} \
+                        -DHDF5_ROOT=${prefix} \
                         -DHDF=ON \
                         -DHDFDIR=${prefix} \
                         -DJASPERDIR=${prefix} \
@@ -95,7 +91,7 @@
                         -DNETCDF=ON \
                         -DNETCDFDIR=${prefix} \
                         -DOPENMP=OFF \
-                        -DPLPLOTDIR=${prefix}/lib/plplot510 \
+                        -DPLPLOTDIR=${prefix} \
                         -DPSLIB=ON \
                         -DPSLIBDIR=${prefix} \
                         -DPYTHON=OFF \
@@ -109,6 +105,8 @@
                         -DX11DIR=${prefix} \
                         -DZLIBDIR=${prefix} \
                         -DCMAKE_OSX_DEPLOYMENT_TARGET=""
+configure.cxxflags-append \
+                        -DPLPLOT_HAS_PLCALLBACK
 configure.ldflags-append \
                         -lintl
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160724/d809c593/attachment.html>


More information about the macports-changes mailing list