summaryrefslogtreecommitdiff
path: root/devel/hdf5-c++
diff options
context:
space:
mode:
authoralnsn <alnsn>2011-10-07 10:42:18 +0000
committeralnsn <alnsn>2011-10-07 10:42:18 +0000
commite486c69227f2d1badf228d276c242ddba2fb694a (patch)
tree4a848601b1e80756231d13636b2173b976424ad9 /devel/hdf5-c++
parent2a591e72b9ce65398237319e4b91927f9dda3672 (diff)
downloadpkgsrc-e486c69227f2d1badf228d276c242ddba2fb694a.tar.gz
Import devel/hdf5-c++ version 1.8.7.
HDF5 is a data model, library, and file format for storing and managing data. It supports an unlimited variety of datatypes, and is designed for flexible and efficient I/O and for high volume and complex data. HDF5 is portable and is extensible, allowing applications to evolve in their use of HDF5. The HDF5 Technology suite includes tools and applications for managing, manipulating, viewing, and analyzing data in the HDF5 format. This package provides C++ wrappers for the HDF5 C library.
Diffstat (limited to 'devel/hdf5-c++')
-rw-r--r--devel/hdf5-c++/DESCR9
-rw-r--r--devel/hdf5-c++/Makefile53
-rw-r--r--devel/hdf5-c++/PLIST46
-rw-r--r--devel/hdf5-c++/distinfo14
4 files changed, 122 insertions, 0 deletions
diff --git a/devel/hdf5-c++/DESCR b/devel/hdf5-c++/DESCR
new file mode 100644
index 00000000000..dba1668b860
--- /dev/null
+++ b/devel/hdf5-c++/DESCR
@@ -0,0 +1,9 @@
+HDF5 is a data model, library, and file format for storing and
+managing data. It supports an unlimited variety of datatypes, and
+is designed for flexible and efficient I/O and for high volume and
+complex data. HDF5 is portable and is extensible, allowing applications
+to evolve in their use of HDF5. The HDF5 Technology suite includes
+tools and applications for managing, manipulating, viewing, and
+analyzing data in the HDF5 format.
+
+This package provides C++ wrappers for the HDF5 C library.
diff --git a/devel/hdf5-c++/Makefile b/devel/hdf5-c++/Makefile
new file mode 100644
index 00000000000..132725d6470
--- /dev/null
+++ b/devel/hdf5-c++/Makefile
@@ -0,0 +1,53 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/10/07 10:42:18 alnsn Exp $
+
+PKGNAME= hdf5-c++-${HDF5_VER}
+COMMENT= Hierarchical Data Format (new generation) - C++ wrappers
+
+USE_LANGUAGES= c c++
+CONFIGURE_ARGS+= --enable-cxx
+
+INSTALLATION_DIRS= bin lib include
+INSTALLATION_DIRS+= share/examples/hdf5/c++
+INSTALLATION_DIRS+= share/examples/hdf5/hl/c++
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/c++/src/h5c++ ${DESTDIR}/${PREFIX}/bin/
+ ${LIBTOOL} --mode=install ${INSTALL_LIB} \
+ ${WRKSRC}/c++/src/libhdf5_cpp.la ${DESTDIR}/${PREFIX}/lib/
+ ${LIBTOOL} --mode=install ${INSTALL_LIB} \
+ ${WRKSRC}/hl/c++/src/libhdf5_hl_cpp.la ${DESTDIR}/${PREFIX}/lib/
+ ${INSTALL_DATA} \
+ ${WRKSRC}/hl/c++/src/H5PacketTable.h ${DESTDIR}/${PREFIX}/include/
+.for f in H5AbstractDs.h H5ArrayType.h H5AtomType.h H5Attribute.h H5Classes.h \
+ H5CommonFG.h H5CompType.h H5Cpp.h H5CppDoc.h H5DataSet.h \
+ H5DataSpace.h H5DataType.h H5DcreatProp.h H5DxferProp.h H5EnumType.h \
+ H5Exception.h H5FaccProp.h H5FcreatProp.h H5File.h H5FloatType.h \
+ H5Group.h H5IdComponent.h H5Include.h H5IntType.h H5Library.h \
+ H5Object.h H5PredType.h H5PropList.h H5StrType.h H5VarLenType.h
+ ${INSTALL_DATA} ${WRKSRC}/c++/src/$f ${DESTDIR}/${PREFIX}/include/
+.endfor
+.for f in chunks.cpp compound.cpp create.cpp extend_ds.cpp \
+ h5group.cpp readdata.cpp run-c++-ex.sh writedata.cpp
+ ${INSTALL_DATA} ${WRKSRC}/c++/examples/$f \
+ ${DESTDIR}/${PREFIX}/share/examples/hdf5/c++/
+.endfor
+.for f in ptExampleFL.cpp ptExampleVL.cpp run-hlc++-ex.sh
+ ${INSTALL_DATA} ${WRKSRC}/hl/c++/examples/$f \
+ ${DESTDIR}/${PREFIX}/share/examples/hdf5/hl/c++/
+.endfor
+
+.include "../../devel/hdf5/Makefile.common"
+
+.include "../../devel/hdf5/buildlink3.mk"
+
+# Since the package is build from source code shared with hdf5,
+# same options should be passed:
+.if !empty(PKG_BUILD_OPTIONS.hdf5:Mszip)
+CONFIGURE_ARGS+= --with-szlib
+.endif
+
+.if !empty(PKG_BUILD_OPTIONS.hdf5:Mthreads)
+CONFIGURE_ARGS+= --enable-threadsafe
+.endif
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/hdf5-c++/PLIST b/devel/hdf5-c++/PLIST
new file mode 100644
index 00000000000..c54db50a527
--- /dev/null
+++ b/devel/hdf5-c++/PLIST
@@ -0,0 +1,46 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2011/10/07 10:42:18 alnsn Exp $
+bin/h5c++
+include/H5AbstractDs.h
+include/H5ArrayType.h
+include/H5AtomType.h
+include/H5Attribute.h
+include/H5Classes.h
+include/H5CommonFG.h
+include/H5CompType.h
+include/H5Cpp.h
+include/H5CppDoc.h
+include/H5DataSet.h
+include/H5DataSpace.h
+include/H5DataType.h
+include/H5DcreatProp.h
+include/H5DxferProp.h
+include/H5EnumType.h
+include/H5Exception.h
+include/H5FaccProp.h
+include/H5FcreatProp.h
+include/H5File.h
+include/H5FloatType.h
+include/H5Group.h
+include/H5IdComponent.h
+include/H5Include.h
+include/H5IntType.h
+include/H5Library.h
+include/H5Object.h
+include/H5PacketTable.h
+include/H5PredType.h
+include/H5PropList.h
+include/H5StrType.h
+include/H5VarLenType.h
+lib/libhdf5_cpp.la
+lib/libhdf5_hl_cpp.la
+share/examples/hdf5/c++/chunks.cpp
+share/examples/hdf5/c++/compound.cpp
+share/examples/hdf5/c++/create.cpp
+share/examples/hdf5/c++/extend_ds.cpp
+share/examples/hdf5/c++/h5group.cpp
+share/examples/hdf5/c++/readdata.cpp
+share/examples/hdf5/c++/run-c++-ex.sh
+share/examples/hdf5/c++/writedata.cpp
+share/examples/hdf5/hl/c++/ptExampleFL.cpp
+share/examples/hdf5/hl/c++/ptExampleVL.cpp
+share/examples/hdf5/hl/c++/run-hlc++-ex.sh
diff --git a/devel/hdf5-c++/distinfo b/devel/hdf5-c++/distinfo
new file mode 100644
index 00000000000..4c1ff1c9102
--- /dev/null
+++ b/devel/hdf5-c++/distinfo
@@ -0,0 +1,14 @@
+$NetBSD: distinfo,v 1.1.1.1 2011/10/07 10:42:18 alnsn Exp $
+
+SHA1 (hdf5-1.8.7.tar.gz) = cb8a2a353a7aabbae923029ebfb66426ddc28ff0
+RMD160 (hdf5-1.8.7.tar.gz) = 6629b3300e4bc86ced62085f4036550ce5cb9cd9
+Size (hdf5-1.8.7.tar.gz) = 7827944 bytes
+SHA1 (patch-c++_examples_Makefile.in) = 4c063e3138507a5dbf99f4c7785611a45ffcf753
+SHA1 (patch-c++_examples_run-c++-ex.sh.in) = 58c38b2ba5557cdae2c4fe1e72c6fa55e5606f1e
+SHA1 (patch-configure.in) = c08f39c3aba0ff34022d4afc26cdfd8785f504b7
+SHA1 (patch-examples_Makefile.in) = 3049b17a6656e7b9818ec69607b278b6e7dc937d
+SHA1 (patch-examples_run-c-ex.sh.in) = 744d3e6bbae1a9b496e3657db6a62fac78fcd7ed
+SHA1 (patch-hl_c++_examples_Makefile.in) = 6e651fae42365e67c281d8bc80e2c60faeddec01
+SHA1 (patch-hl_c++_examples_run-hlc++-ex.sh.in) = fba3d976adb02d80682ddc42a8ef64f6dddffa41
+SHA1 (patch-hl_examples_Makefile.in) = 2fe09e8a88eeca49db58908a6b4a3a70f01cb0b4
+SHA1 (patch-hl_examples_run-hlc-ex.sh.in) = 38c2c112439d6febb023d638d965f04bbaa45d5f