pkgsrc/devel/hdf5/Makefile

43 lines
1.5 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.36 2006/03/04 21:29:16 jlam Exp $
DISTNAME= hdf5-1.6.5
PKGREVISION= 1
Changes 1.6.3: New Features Configuration: - Added some initial support for making purify (or similar memory checking products) happier by initializing buffers to zero and disabling the internal free list code. To take advantage of this, define 'H5_USING_PURIFY' in your CFLAGS when building the library. - WINDOWS building,testing and installing improvements - On Windows, FORTRAN,C++ and C projects are merged into one zip file, users can choose an option to build either FORTRAN or C++ or both with basic C library.For detailed information, please read INSTALL_Windows.txt. - On Windows, szip compression library with or without encoder can be easily turned off or on when building HDF5. For detailed information, please read INSTALL_Windows.txt, especially section V. - On Windows, an optional procedure for building,testing and installing HDF5 from command line is provided. This procedure is supposed to be convenient for experienced users, please read INSTALL_windows_From_Command_Line.txt for details. - On Windows, an alternative short instruction document for building, testing and installing HDF5 is provided. This instruction is supposed to be convenient for general users, please read INSTALL_Windows_Short.txt for details. - On Windows, h5repack,h5diff,h5ls and h5import tool tests have been added. Library: - Modified the way how HDF5 calculates 'pixels_per_scanline' parameter for SZIP compression. Now there is no restriction on the size and shape of the chunk except that the total number of elements in the chunk cannot be bigger than 'pixels_per_block' parameter provided by the user. - HDF5 can now link to SZIP with or without szip's encoder. The new API function H5Zget_filter_info can be used to check szip's status. Attempting to assign szip to a dataset property list or attempting to write with szip will generate an error if szip's encoder is disabled. JL/NF - 2004/6/30 - SZIP always uses K13 compression. This flag no longer needs to be set when calling H5Pset_szip. If the flag for CHIP compression is set, it will be ignored (since the two are mutually exclusive). JL/NF - 2004/6/30 - A new API function H5Fget_name was added. It returns the name of the file by object(file, group, data set, named data type, attribute) ID. SLU - 2004/06/29 - A new API function H5Fget_filesize was added. It returns the actual file size of the opened file. SLU - 2004/06/24 - Added option that if $HDF5_DISABLE_VERSION_CHECK is set to 2, will suppress all library version mismatch warning messages. Tools: - h5repack was added to the tools suite. h5repack regenerates an HDF5 file from another HDF5 file, optionally applying HDF5 filters (compression) and/or chunking to the copied file. The filters options are read from the command line. See /doc/html/Tools.html for more details. PVN - 2004/9/13 - h5dump includes new features: 1) Printing of dataset filters, storage layout and fill value information. 2) Print a list of the file contents. 3) Escape non printing characters. 4) Print the content of the boot block. 5) Print array indices with the data (the default).
2005-02-25 10:10:18 +01:00
CATEGORIES= devel
MASTER_SITES= ftp://ftp.ncsa.uiuc.edu/HDF/HDF5/hdf5-1.6.5/src/
MAINTAINER= pkgsrc-users@NetBSD.org
Changes 1.6.3: New Features Configuration: - Added some initial support for making purify (or similar memory checking products) happier by initializing buffers to zero and disabling the internal free list code. To take advantage of this, define 'H5_USING_PURIFY' in your CFLAGS when building the library. - WINDOWS building,testing and installing improvements - On Windows, FORTRAN,C++ and C projects are merged into one zip file, users can choose an option to build either FORTRAN or C++ or both with basic C library.For detailed information, please read INSTALL_Windows.txt. - On Windows, szip compression library with or without encoder can be easily turned off or on when building HDF5. For detailed information, please read INSTALL_Windows.txt, especially section V. - On Windows, an optional procedure for building,testing and installing HDF5 from command line is provided. This procedure is supposed to be convenient for experienced users, please read INSTALL_windows_From_Command_Line.txt for details. - On Windows, an alternative short instruction document for building, testing and installing HDF5 is provided. This instruction is supposed to be convenient for general users, please read INSTALL_Windows_Short.txt for details. - On Windows, h5repack,h5diff,h5ls and h5import tool tests have been added. Library: - Modified the way how HDF5 calculates 'pixels_per_scanline' parameter for SZIP compression. Now there is no restriction on the size and shape of the chunk except that the total number of elements in the chunk cannot be bigger than 'pixels_per_block' parameter provided by the user. - HDF5 can now link to SZIP with or without szip's encoder. The new API function H5Zget_filter_info can be used to check szip's status. Attempting to assign szip to a dataset property list or attempting to write with szip will generate an error if szip's encoder is disabled. JL/NF - 2004/6/30 - SZIP always uses K13 compression. This flag no longer needs to be set when calling H5Pset_szip. If the flag for CHIP compression is set, it will be ignored (since the two are mutually exclusive). JL/NF - 2004/6/30 - A new API function H5Fget_name was added. It returns the name of the file by object(file, group, data set, named data type, attribute) ID. SLU - 2004/06/29 - A new API function H5Fget_filesize was added. It returns the actual file size of the opened file. SLU - 2004/06/24 - Added option that if $HDF5_DISABLE_VERSION_CHECK is set to 2, will suppress all library version mismatch warning messages. Tools: - h5repack was added to the tools suite. h5repack regenerates an HDF5 file from another HDF5 file, optionally applying HDF5 filters (compression) and/or chunking to the copied file. The filters options are read from the command line. See /doc/html/Tools.html for more details. PVN - 2004/9/13 - h5dump includes new features: 1) Printing of dataset filters, storage layout and fill value information. 2) Print a list of the file contents. 3) Escape non printing characters. 4) Print the content of the boot block. 5) Print array indices with the data (the default).
2005-02-25 10:10:18 +01:00
HOMEPAGE= http://hdf.ncsa.uiuc.edu/HDF5/
COMMENT= Hierarchical Data Format (new generation)
DIST_SUBDIR= ${PKGNAME_NOREV}
Changes 1.6.3: New Features Configuration: - Added some initial support for making purify (or similar memory checking products) happier by initializing buffers to zero and disabling the internal free list code. To take advantage of this, define 'H5_USING_PURIFY' in your CFLAGS when building the library. - WINDOWS building,testing and installing improvements - On Windows, FORTRAN,C++ and C projects are merged into one zip file, users can choose an option to build either FORTRAN or C++ or both with basic C library.For detailed information, please read INSTALL_Windows.txt. - On Windows, szip compression library with or without encoder can be easily turned off or on when building HDF5. For detailed information, please read INSTALL_Windows.txt, especially section V. - On Windows, an optional procedure for building,testing and installing HDF5 from command line is provided. This procedure is supposed to be convenient for experienced users, please read INSTALL_windows_From_Command_Line.txt for details. - On Windows, an alternative short instruction document for building, testing and installing HDF5 is provided. This instruction is supposed to be convenient for general users, please read INSTALL_Windows_Short.txt for details. - On Windows, h5repack,h5diff,h5ls and h5import tool tests have been added. Library: - Modified the way how HDF5 calculates 'pixels_per_scanline' parameter for SZIP compression. Now there is no restriction on the size and shape of the chunk except that the total number of elements in the chunk cannot be bigger than 'pixels_per_block' parameter provided by the user. - HDF5 can now link to SZIP with or without szip's encoder. The new API function H5Zget_filter_info can be used to check szip's status. Attempting to assign szip to a dataset property list or attempting to write with szip will generate an error if szip's encoder is disabled. JL/NF - 2004/6/30 - SZIP always uses K13 compression. This flag no longer needs to be set when calling H5Pset_szip. If the flag for CHIP compression is set, it will be ignored (since the two are mutually exclusive). JL/NF - 2004/6/30 - A new API function H5Fget_name was added. It returns the name of the file by object(file, group, data set, named data type, attribute) ID. SLU - 2004/06/29 - A new API function H5Fget_filesize was added. It returns the actual file size of the opened file. SLU - 2004/06/24 - Added option that if $HDF5_DISABLE_VERSION_CHECK is set to 2, will suppress all library version mismatch warning messages. Tools: - h5repack was added to the tools suite. h5repack regenerates an HDF5 file from another HDF5 file, optionally applying HDF5 filters (compression) and/or chunking to the copied file. The filters options are read from the command line. See /doc/html/Tools.html for more details. PVN - 2004/9/13 - h5dump includes new features: 1) Printing of dataset filters, storage layout and fill value information. 2) Print a list of the file contents. 3) Escape non printing characters. 4) Print the content of the boot block. 5) Print array indices with the data (the default).
2005-02-25 10:10:18 +01:00
USE_LIBTOOL= yes
USE_TOOLS+= tr
Changes 1.6.3: New Features Configuration: - Added some initial support for making purify (or similar memory checking products) happier by initializing buffers to zero and disabling the internal free list code. To take advantage of this, define 'H5_USING_PURIFY' in your CFLAGS when building the library. - WINDOWS building,testing and installing improvements - On Windows, FORTRAN,C++ and C projects are merged into one zip file, users can choose an option to build either FORTRAN or C++ or both with basic C library.For detailed information, please read INSTALL_Windows.txt. - On Windows, szip compression library with or without encoder can be easily turned off or on when building HDF5. For detailed information, please read INSTALL_Windows.txt, especially section V. - On Windows, an optional procedure for building,testing and installing HDF5 from command line is provided. This procedure is supposed to be convenient for experienced users, please read INSTALL_windows_From_Command_Line.txt for details. - On Windows, an alternative short instruction document for building, testing and installing HDF5 is provided. This instruction is supposed to be convenient for general users, please read INSTALL_Windows_Short.txt for details. - On Windows, h5repack,h5diff,h5ls and h5import tool tests have been added. Library: - Modified the way how HDF5 calculates 'pixels_per_scanline' parameter for SZIP compression. Now there is no restriction on the size and shape of the chunk except that the total number of elements in the chunk cannot be bigger than 'pixels_per_block' parameter provided by the user. - HDF5 can now link to SZIP with or without szip's encoder. The new API function H5Zget_filter_info can be used to check szip's status. Attempting to assign szip to a dataset property list or attempting to write with szip will generate an error if szip's encoder is disabled. JL/NF - 2004/6/30 - SZIP always uses K13 compression. This flag no longer needs to be set when calling H5Pset_szip. If the flag for CHIP compression is set, it will be ignored (since the two are mutually exclusive). JL/NF - 2004/6/30 - A new API function H5Fget_name was added. It returns the name of the file by object(file, group, data set, named data type, attribute) ID. SLU - 2004/06/29 - A new API function H5Fget_filesize was added. It returns the actual file size of the opened file. SLU - 2004/06/24 - Added option that if $HDF5_DISABLE_VERSION_CHECK is set to 2, will suppress all library version mismatch warning messages. Tools: - h5repack was added to the tools suite. h5repack regenerates an HDF5 file from another HDF5 file, optionally applying HDF5 filters (compression) and/or chunking to the copied file. The filters options are read from the command line. See /doc/html/Tools.html for more details. PVN - 2004/9/13 - h5dump includes new features: 1) Printing of dataset filters, storage layout and fill value information. 2) Print a list of the file contents. 3) Escape non printing characters. 4) Print the content of the boot block. 5) Print array indices with the data (the default).
2005-02-25 10:10:18 +01:00
GNU_CONFIGURE= yes
TEST_TARGET= check
#CONFIGURE_ARGS+= --disable-production --enable-debug
# it appears that this file is informative only and is not actually
# used by any installed tools
CHECK_WRKREF_SKIP= ${PREFIX}/lib/libhdf5.settings
.include "options.mk"
post-extract:
${CP} ${WRKSRC}/config/freebsd ${WRKSRC}/config/netbsd
${CP} ${WRKSRC}/config/freebsd ${WRKSRC}/config/netbsdelf
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/tools/misc/h5cc ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/tools/misc/h5redeploy.in ${PREFIX}/bin/h5redeploy
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/hdf5
cd ${WRKSRC} && ${INSTALL_DATA} COPYING release_docs/HISTORY.txt \
release_docs/RELEASE.txt ${PREFIX}/share/doc/hdf5
Updated hdf5 to 1.4.0. For further details of changes see ${PREFIX}/share/doc/hdf5/RELEASE.txt. New Features ============ * The Virtual File Layer, VFL, was added to replace the old file drivers. It also provides an API for user defined file drivers. * New features added to snapshots. Use 'snapshot help' to see a complete list of features. * Improved configure to detect if MPIO routines are available when parallel mode is requested. * Added Thread-Safe support. Phase I implemented. See: http://hdf.ncsa.uiuc.edu/HDF5/papers/mthdf/MTHDFpaper.htm for more details. * Added data sieve buffering to raw data I/O path. This is enabled for all VFL drivers except the mpio & core drivers. Setting the sieve buffer size is controlled with the new API function, H5Pset_sieve_buf_size(), and retrieved with H5Pget_sieve_buf_size(). * Added new Virtual File Driver, Stream VFD, to send/receive entire HDF5 files via socket connections. * As parts of VFL, HDF-GASS and HDF-SRB are also added to this release. To find out details, please read INSTALL_VFL file. * Increased maximum number of dimensions for a dataset (H5S_MAX_RANK) from 31 to 32 to align with HDF4 & netCDF. * Added 'query' function to VFL drivers. Also added 'type' parameter to VFL 'read' & 'write' calls, so they are aware of the type of data being accessed in the file. Updated the VFL document also. * A new h4toh5 utility, to convert HDF4 files to analogous HDF5 files. * Added a new array datatype to the datatypes which can be created. Removed "array fields" from compound datatypes (use an array datatype instead). * Parallel HDF5 works correctly with mpich-1.2.1 on Solaris, SGI, Linux. * You can now install the HDF5 documentation using the ``make install-doc'' command. The documentation is installed in the $(prefix)/doc directory where $(prefix) is the prefix specified by the (optional) ``--prefix'' flag during configuration. * HDF5 can operate correctly in the OpenMP environment in a limited way. Check doc/html/TechNotes/openmp-hdf5.html for details.
2001-02-25 01:05:39 +01:00
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/hdf5
# avoid installing the Makefile and Makefile.in's They are not needed
cd ${WRKSRC}/doc/html && ${PAX} -s '/.*Makefile.*//' -rwpm . ${PREFIX}/share/doc/html/hdf5
${CHOWN} -R ${SHAREOWN} ${PREFIX}/share/doc/html/hdf5
${CHGRP} -R ${SHAREGRP} ${PREFIX}/share/doc/html/hdf5
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"