[36110] trunk/dports/science/hdf5/Portfile

jochen at macports.org jochen at macports.org
Thu Apr 17 23:20:48 PDT 2008


Revision: 36110
          http://trac.macosforge.org/projects/macports/changeset/36110
Author:   jochen at macports.org
Date:     2008-04-17 23:20:47 -0700 (Thu, 17 Apr 2008)

Log Message:
-----------
take maintainership,
specify that we need compilers (i.e. their support libs) at run-time,
specify conflicts between variants,
whitespace

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

Modified: trunk/dports/science/hdf5/Portfile
===================================================================
--- trunk/dports/science/hdf5/Portfile	2008-04-18 06:15:16 UTC (rev 36109)
+++ trunk/dports/science/hdf5/Portfile	2008-04-18 06:20:47 UTC (rev 36110)
@@ -7,9 +7,9 @@
 # We should provide a hdf5-devel port for 1.8 at this time, I guess.
 name                hdf5
 version             1.6.7
-revision            2
+revision            3
 categories          science
-maintainers         nomaintainer
+maintainers         openmaintainer jochen
 
 description         HDF5 general purpose library and file format for storing scientific data
 long_description    ${description}
@@ -34,13 +34,13 @@
 test.target         check
 
 variant szip description {Enable szip compression support} {
-    configure.args-delete	--with-szlib=no
-	configure.args-append	--with-szlib=yes
-	depends_lib-append	    port:szip
+    configure.args-delete       --with-szlib=no
+    configure.args-append       --with-szlib=yes
+    depends_lib-append          port:szip
 }
 
-variant optimized description {Use GCC 4.3 for compilation of HDF-5 - optimized for host machine} {
-    depends_build-append        port:gcc43
+variant optimized conflicts g95 gcc42 description {Optimize for host machine using GCC 4.3 for compilation of HDF-5} {
+    depends_lib-append          port:gcc43
     configure.compiler          macports-gcc-4.3
     configure.cflags-delete     -O2
     configure.cxxflags-delete   -O2
@@ -55,20 +55,20 @@
     }
 }
 
-variant g95 description {compile the Fortran interface using G95} conflicts gcc42 gcc43 {
-    depends_build-append        port:g95
+variant g95 conflicts gcc42 gcc43 description {compile the Fortran interface using G95} conflicts gcc42 gcc43 {
+    depends_lib-append          port:g95
     configure.args-append       --enable-fortran
     configure.fc                ${prefix}/bin/g95
 }
 
-variant gcc42 description {compile the Fortran interface using GCC 4.2} conflicts g95 gcc43 {
-    depends_build-append        port:gcc42
+variant gcc42 conflicts g95 gcc43 description {compile the Fortran interface using GCC 4.2} conflicts g95 gcc43 {
+    depends_lib-append          port:gcc42
     configure.args-append       --enable-fortran
     configure.fc                ${prefix}/bin/gfortran-mp-4.2
 }
 
-variant gcc43 description {compile the Fortran interface using GCC 4.3} conflicts g95 gcc42 {
-    depends_build-append        port:gcc43
+variant gcc43 conflicts g95 gcc43 description {compile the Fortran interface using GCC 4.3} conflicts g95 gcc42 {
+    depends_lib-append          port:gcc43
     configure.args-append       --enable-fortran
     configure.fc                ${prefix}/bin/gfortran-mp-4.3
 }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080417/a614449d/attachment.html


More information about the macports-changes mailing list