Ignore:
Timestamp:
Jan 14, 2013, 8:18:01 PM (7 years ago)
Author:
takeshi@…
Message:

hdf: revamped for 4.2.8. added gcc46 and gcc47 variants.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/science/hdf4/Portfile

    r97763 r101605  
    55
    66name                hdf4
    7 version             4.2.7
    8 revision            1
     7version             4.2.8
    98platforms           darwin
    109categories          science
     
    1514long_description    ${description}
    1615homepage            http://www.hdfgroup.org/products/hdf4/index.html
    17 master_sites        ftp://ftp.hdfgroup.org/HDF/HDF_Current/src/ \
    18                     http://www.hdfgroup.org/ftp/HDF/HDF_Current/src/
    19 distname            hdf-${version}-patch1
     16master_sites        ftp://ftp.hdfgroup.org/HDF/prev-releases/HDF${version}/src/ \
     17                    http://www.hdfgroup.org/ftp/HDF/prev-releases/HDF${version}/src/
     18distname            hdf-${version}
    2019use_bzip2           yes
    21 checksums           md5     dd1ab70083448ec062dbd0b37083cd14 \
    22                     sha1    37950d01ca242f29bc3a9eb2d20d77f466cf3f30 \
    23                     rmd160  a88d919bceb9002eac3f91e2059e6d887350b22c
     20checksums           md5     380c67592e118423dc123cd4214a2cd9 \
     21                    sha1    9d4ab457ccb8e582c265ca3f5f2ec90614d89da4 \
     22                    rmd160  fe3e57e3967eb421a22a3ee9093fd0d287394b3a
    2423
    2524depends_lib         port:zlib port:jpeg
    26 
    27 post-patch {
    28     reinplace "s|CFLAGS_TO_ADD\$CFLAGS|CFLAGS|" ${worksrcpath}/configure
    29     reinplace "s|FFLAGS_TO_ADD\$FFLAGS|FFLAGS|" ${worksrcpath}/configure
    30 }
    3125
    3226configure.args      --disable-netcdf --disable-fortran \
     
    5751}
    5852
    59 variant g95 conflicts gcc43 gcc44 gcc45 universal description {build with g95} {
     53variant g95 conflicts gcc43 gcc44 gcc45 gcc46 gcc47 universal description {build with g95} {
    6054    configure.args-delete   --disable-fortran --enable-shared
    6155    depends_build-append    port:g95
     
    6357}
    6458
    65 variant gcc43 conflicts g95 gcc44 gcc45 universal description {build with gfortran 4.3} {
     59variant gcc43 conflicts g95 gcc44 gcc45 gcc46 gcc47 universal description {build with gfortran 4.3} {
    6660    configure.args-delete   --disable-fortran --enable-shared
    6761    depends_build-append    port:gcc43
     
    6963}
    7064
    71 variant gcc44 conflicts g95 gcc43 gcc45 universal description {build with gfortran 4.4} {
     65variant gcc44 conflicts g95 gcc43 gcc45 gcc46 gcc47 universal description {build with gfortran 4.4} {
    7266    configure.args-delete   --disable-fortran --enable-shared
    7367    depends_build-append    port:gcc44
     
    7569}
    7670
    77 variant gcc45 conflicts g95 gcc43 gcc44 universal description {build with gfortran 4.5} {
     71variant gcc45 conflicts g95 gcc43 gcc44 gcc46 gcc47 universal description {build with gfortran 4.5} {
    7872    configure.args-delete   --disable-fortran --enable-shared
    7973    depends_build-append    port:gcc45
    8074    configure.f77           ${prefix}/bin/gfortran-mp-4.5
     75}
     76
     77variant gcc46 conflicts g95 gcc43 gcc44 gcc45 gcc47 universal description {build with gfortran 4.6} {
     78    configure.args-delete   --disable-fortran --enable-shared
     79    depends_build-append    port:gcc46
     80    configure.f77           ${prefix}/bin/gfortran-mp-4.6
     81}
     82
     83variant gcc47 conflicts g95 gcc43 gcc44 gcc45 gcc46 universal description {build with gfortran 4.7} {
     84    configure.args-delete   --disable-fortran --enable-shared
     85    depends_build-append    port:gcc47
     86    configure.f77           ${prefix}/bin/gfortran-mp-4.7
    8187}
    8288
Note: See TracChangeset for help on using the changeset viewer.