[45569] trunk/dports/science/hdf4/Portfile
takeshi at macports.org
takeshi at macports.org
Sat Jan 17 20:41:36 PST 2009
Revision: 45569
http://trac.macports.org/changeset/45569
Author: takeshi at macports.org
Date: 2009-01-17 20:41:36 -0800 (Sat, 17 Jan 2009)
Log Message:
-----------
hdf4: disabled fortran for universal. possible to use g95 or gfortran for without universal variants
Modified Paths:
--------------
trunk/dports/science/hdf4/Portfile
Modified: trunk/dports/science/hdf4/Portfile
===================================================================
--- trunk/dports/science/hdf4/Portfile 2009-01-18 04:32:35 UTC (rev 45568)
+++ trunk/dports/science/hdf4/Portfile 2009-01-18 04:41:36 UTC (rev 45569)
@@ -5,6 +5,7 @@
name hdf4
version 4.2r3
+revision 1
platforms darwin
categories science
maintainers takeshi at macports.org
@@ -17,12 +18,12 @@
sha1 31fa41dc5cb06c8f3b34a064ca83cefae16ae1f6 \
rmd160 cab74803c04dcc07ef7b0f6e69ce7462a2d6e7a3
-depends_lib port:g95 port:zlib port:jpeg
+depends_build port:gcc43
+depends_lib port:zlib port:jpeg
distname HDF$version
-configure.args --with-szlib=no --disable-netcdf
-configure.env F77=${prefix}/bin/g95
-configure.ldflags "-L${worksrcpath}/src/.libs -L${prefix}/lib"
+configure.args --with-szlib=no --disable-netcdf --disable-fortran
+configure.ldflags "-L${worksrcpath}/src/.libs -L${prefix}/lib"
test.run yes
test.target check
@@ -46,6 +47,18 @@
depends_lib-append port:szip
}
+variant g95 conflicts {universal gfortran} description {build with g95} {
+ configure.args-delete --disable-fortran
+ depends_build-append port:g95
+ configure.env-append F77=${prefix}/bin/g95
+}
+
+variant gfortran conflicts {universal g95} description {build with gfortran} {
+ configure.args-delete --disable-fortran
+ depends_build-append port:gcc43
+ configure.env-append F77=${prefix}/bin/gfortran-mp-4.3
+}
+
livecheck.check regex
livecheck.url ${homepage}
livecheck.regex {The latest Official Release of HDF is ([0-9]+\.[0-9]+r[0-9]+)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090117/df36154f/attachment.html>
More information about the macports-changes
mailing list