Changeset 147799 for trunk


Ignore:
Timestamp:
Apr 16, 2016, 6:15:48 AM (4 years ago)
Author:
takeshi@…
Message:

hdf5-18: add to MacPorts for compatibility. See #51089

Location:
trunk/dports/science/hdf5-18
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/dports/science/hdf5-18

  • trunk/dports/science/hdf5-18/Portfile

    r146131 r147799  
    77PortGroup           mpi 1.0
    88
    9 name                hdf5
     9set realname        hdf5
     10name                hdf5-18
    1011version             1.8.16
    1112revision            2
    1213categories          science
    13 maintainers         mmoll openmaintainer
     14maintainers         takeshi mmoll openmaintainer
    1415
    1516description         HDF5 general purpose library and file format for storing\
     
    3334mpi.setup           -gcc44 -gcc45
    3435
     36distname            ${realname}-${version}
     37dist_subdir         ${realname}
     38
    3539use_bzip2           yes
    3640depends_lib         port:zlib
     
    5357                    --disable-cxx --disable-hl --enable-shared --enable-static \
    5458                    --disable-parallel --disable-threadsafe \
    55                     --with-default-plugindir=${prefix}/lib/hdf5
     59                    --with-default-plugindir=${prefix}/lib/${name} \
     60                    --program-suffix=-18 \
     61                    --includedir=${prefix}/include/${name} \
     62                    --libdir=${prefix}/lib/${name}
    5663
    5764# http://mail.hdfgroup.org/pipermail/hdf-forum_hdfgroup.org/2010-March/002682.html
     
    7986
    8087post-destroot {
    81     xinstall -d ${destroot}${prefix}/share/hdf5/
     88    xinstall -d ${destroot}${prefix}/share/${name}/
    8289    xinstall -m 444 ${worksrcpath}/COPYING\
    83       ${destroot}${prefix}/share/hdf5/
     90      ${destroot}${prefix}/share/${name}/
     91    file rename ${destroot}${prefix}/share/hdf5_examples ${destroot}${prefix}/share/${name}
     92    file rename ${destroot}${prefix}/bin/h5cc ${destroot}${prefix}/bin/h5cc-18
    8493}
    8594
Note: See TracChangeset for help on using the changeset viewer.