[147799] trunk/dports/science
takeshi at macports.org
takeshi at macports.org
Fri Apr 15 23:15:48 PDT 2016
Revision: 147799
https://trac.macports.org/changeset/147799
Author: takeshi at macports.org
Date: 2016-04-15 23:15:48 -0700 (Fri, 15 Apr 2016)
Log Message:
-----------
hdf5-18: add to MacPorts for compatibility. See #51089
Modified Paths:
--------------
trunk/dports/science/hdf5-18/Portfile
Added Paths:
-----------
trunk/dports/science/hdf5-18/
Property changes on: trunk/dports/science/hdf5-18
___________________________________________________________________
Added: svn:mergeinfo
+ /branches/mld-qt-481/dports/science/hdf5:92720,92813,92891,92963,93522,93556,93699,93743,93771-93773,93806,93817-93818,93856
Modified: trunk/dports/science/hdf5-18/Portfile
===================================================================
--- trunk/dports/science/hdf5/Portfile 2016-02-29 17:44:03 UTC (rev 146131)
+++ trunk/dports/science/hdf5-18/Portfile 2016-04-16 06:15:48 UTC (rev 147799)
@@ -6,11 +6,12 @@
PortGroup muniversal 1.0
PortGroup mpi 1.0
-name hdf5
+set realname hdf5
+name hdf5-18
version 1.8.16
revision 2
categories science
-maintainers mmoll openmaintainer
+maintainers takeshi mmoll openmaintainer
description HDF5 general purpose library and file format for storing\
scientific data
@@ -32,6 +33,9 @@
sha256 13aaae5ba10b70749ee1718816a4b4bfead897c2fcb72c24176e759aec4598c6
mpi.setup -gcc44 -gcc45
+distname ${realname}-${version}
+dist_subdir ${realname}
+
use_bzip2 yes
depends_lib port:zlib
use_parallel_build yes
@@ -52,7 +56,10 @@
--enable-production --disable-fortran \
--disable-cxx --disable-hl --enable-shared --enable-static \
--disable-parallel --disable-threadsafe \
- --with-default-plugindir=${prefix}/lib/hdf5
+ --with-default-plugindir=${prefix}/lib/${name} \
+ --program-suffix=-18 \
+ --includedir=${prefix}/include/${name} \
+ --libdir=${prefix}/lib/${name}
# http://mail.hdfgroup.org/pipermail/hdf-forum_hdfgroup.org/2010-March/002682.html
license NCSA
@@ -78,9 +85,11 @@
}
post-destroot {
- xinstall -d ${destroot}${prefix}/share/hdf5/
+ xinstall -d ${destroot}${prefix}/share/${name}/
xinstall -m 444 ${worksrcpath}/COPYING\
- ${destroot}${prefix}/share/hdf5/
+ ${destroot}${prefix}/share/${name}/
+ file rename ${destroot}${prefix}/share/hdf5_examples ${destroot}${prefix}/share/${name}
+ file rename ${destroot}${prefix}/bin/h5cc ${destroot}${prefix}/bin/h5cc-18
}
pre-activate {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160415/a8859356/attachment-0001.html>
More information about the macports-changes
mailing list