pkgsrc/devel/hdf5/Makefile

32 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.11 2001/05/12 05:47:25 tron Exp $
DISTNAME= hdf5-1.4.1
CATEGORIES= devel
MASTER_SITES= ftp://hdf.ncsa.uiuc.edu/HDF5/hdf5-1.4.0/src/ \
ftp://sunsite.doc.ic.ac.uk/packages/HDF/HDF5/hdf5-1.4.0/src/ \
http://www.go.dlr.de/fresh/unix/src/misc/
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://hdf.ncsa.uiuc.edu/HDF5/
COMMENT= Hierarchical Data Format (version 5)
DEPENDS+= jpeg-6b:../../graphics/jpeg
GNU_CONFIGURE= #defined
USE_LIBTOOL= #defined
LTCONFIG_OVERRIDE= ${WRKSRC}/bin/ltconfig
pre-install:
${LIBTOOL} --mode=install ${BSD_INSTALL_DATA} \
${WRKSRC}/tools/lib/libh5tools.la ${PREFIX}/lib
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/hdf5
${INSTALL_DATA} ${WRKSRC}/COPYING ${WRKSRC}/README \
${WRKSRC}/RELEASE.txt ${PREFIX}/share/doc/hdf5
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/hdf5
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${WRKSRC}/doc/html/
(cd ${WRKSRC}/doc/html; ${GTAR} cpf - . ) | \
(cd ${PREFIX}/share/doc/html/hdf5/; ${GTAR} xpf - )
.include "../../mk/bsd.pkg.mk"