pkgsrc/devel/hdf5/Makefile
jwise 12f60615df Convert this package to use bsd.options.mk, with one option, `szip'.
This allows szip support (which uses a package with a no-commercial-use
license) to be disabled.
2005-05-19 15:39:04 +00:00

30 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.28 2005/05/19 15:39:04 jwise Exp $
DISTNAME= hdf5-1.6.4
CATEGORIES= devel
MASTER_SITES= ftp://ftp.ncsa.uiuc.edu/HDF/HDF5/hdf5-1.6.4/src/ \
ftp://sunsite.doc.ic.ac.uk/packages/HDF/HDF5/hdf5-1.6.4/src/ \
http://www.go.dlr.de/fresh/unix/src/misc/
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://hdf.ncsa.uiuc.edu/HDF5/
COMMENT= Hierarchical Data Format (new generation)
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
TEST_TARGET= check
.include "options.mk"
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
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/hdf5
cd ${WRKSRC}/doc/html && ${PAX} -rw . ${PREFIX}/share/doc/html/hdf5
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/doc/html/hdf5
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"