[80250] trunk/dports/science/hdf4/Portfile

takeshi at macports.org takeshi at macports.org
Thu Jul 7 13:41:40 PDT 2011


Revision: 80250
          http://trac.macports.org/changeset/80250
Author:   takeshi at macports.org
Date:     2011-07-07 13:41:39 -0700 (Thu, 07 Jul 2011)
Log Message:
-----------
hdf4: updated for 4.2.6

Modified Paths:
--------------
    trunk/dports/science/hdf4/Portfile

Modified: trunk/dports/science/hdf4/Portfile
===================================================================
--- trunk/dports/science/hdf4/Portfile	2011-07-07 20:08:29 UTC (rev 80249)
+++ trunk/dports/science/hdf4/Portfile	2011-07-07 20:41:39 UTC (rev 80250)
@@ -4,8 +4,7 @@
 PortSystem          1.0
 
 name                hdf4
-version             4.2.5
-revision            2
+version             4.2.6
 platforms           darwin
 categories          science
 maintainers         takeshi
@@ -17,14 +16,18 @@
                     http://www.hdfgroup.org/ftp/HDF/HDF_Current/src/
 distname            hdf-${version}
 use_bzip2           yes
-checksums           md5     91bc17ec735b52736507570a530fe8a9 \
-                    sha1    9c854363949bc6552bd38957e7bdfc9c54be0f82 \
-                    rmd160  1b8fb8330529dcfc17f0c506b43eb51155471111
+checksums           md5     eed281ded7f81f6ba1a3b1b1d5109bfe \
+                    sha1    914eedbd8d4714f8bc0cc10bbbad5ad7fe1e375c \
+                    rmd160  9b8b9ccba7f84085cff2c64090d5f7c0abf7acad
 
-depends_lib         port:zlib port:szip port:jpeg6b
+depends_lib         port:zlib port:szip port:jpeg
 
+post-patch {
+    reinplace "s|CFLAGS_TO_ADD\$CFLAGS|CFLAGS|" ${worksrcpath}/configure
+}
+
 configure.args      --with-szlib=${prefix} --disable-netcdf --disable-fortran \
-                    --with-jpeg=${prefix}/lib/jpeg6b --enable-shared
+                    --with-jpeg=${prefix} --enable-shared
 configure.cppflags-delete   -I${prefix}/include
 configure.ldflags-delete    -L${prefix}/lib
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110707/d1fa29d1/attachment.html>


More information about the macports-changes mailing list