Changeset 35665


Ignore:
Timestamp:
Apr 1, 2008, 9:01:05 PM (10 years ago)
Author:
jochen@…
Message:

follow upstream upgrade to 1.6.7,
provide gcc43 variant (however, this versin does not compile with gcc43 yet),
enable parallel build

File:
1 edited

Legend:

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

    r34222 r35665  
    1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
     1# -*- coding: utf-8; mode: tcl; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 4; truncate-lines: t -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    22# $Id$
    33
     
    55
    66name                hdf5
    7 version             1.6.6
    8 revision            1
     7version             1.6.7
    98categories          science
    109maintainers         nomaintainer
     
    1211description         HDF5 general purpose library and file format for storing scientific data
    1312long_description    ${description}
    14 homepage            http://www.hdfgroup.org/
    15 master_sites        ftp://ftp.hdfgroup.org/HDF5/prev-releases/${name}-${version}/src/
    16 #                   ftp://ftp.hdfgroup.org/HDF5/current/src/ \
    17 #                   ftp://ftp.hdfgroup.org/HDF5/prev-releases/
    18 checksums           md5 6c7fcc91f1579555d88bb10c6c9a33a9 \
    19                     sha1 c8a9ec598cf0debb694a1d7034fd85bbd67f173b \
    20                     rmd160 e7cf3f8d6aa5f34ef10cabf650ed43d644e54f1b
     13homepage            http://www.hdfgroup.org/HDF5/
     14master_sites        ftp://ftp.hdfgroup.org/HDF5/current16/src/
     15checksums           md5 79027c67188e2e4131c5573771f477ce \
     16                    sha1 9c26fe09cdad269c9a6757933f70ca164a47b8e8 \
     17                    rmd160 2dbbcccd32986dcd66ce804c5e90ac6c949b71f6
    2118
    2219depends_lib         port:zlib                           
     
    2522configure.args      --enable-cxx --with-zlib=yes --with-szlib=no
    2623configure.ldflags   "-L${worksrcpath}/src/.libs -L${prefix}/lib"
    27 
     24use_parallel_build  yes
    2825test.run            yes
    2926test.target         check
    30 
    31 destroot.destdir    prefix=${destroot}${prefix}
    3227
    3328variant szip {
     
    3631        depends_lib-append          port:szip
    3732}
     33
     34variant gcc43 description "Use GCC 4.3 for compilation of HDF-5 - optimized for host machine" {
     35    depends_build-append        port:gcc43
     36    configure.compiler          macports-gcc-4.3
     37    configure.cflags-append     "-ftree-vectorize -march=native -O3"
     38    configure.cxxflags-append   "-ftree-vectorize -march=native -O3"
     39}
Note: See TracChangeset for help on using the changeset viewer.