summaryrefslogtreecommitdiff
path: root/devel/hdf5/Makefile
blob: ac10229fee9f98198895b1f5b130f41a92e2883e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $NetBSD: Makefile,v 1.6 2001/03/01 19:10:22 jtb Exp $

DISTNAME=		hdf5-1.4.0
CATEGORIES=		devel
MASTER_SITES=		ftp://hdf.ncsa.uiuc.edu/HDF5/hdf5-1.2.2/src/ \
			ftp://sunsite.doc.ic.ac.uk/packages/HDF5/hdf5-1.2.2/src/

MAINTAINER=		jtb@netbsd.org
HOMEPAGE=		http://hdf.ncsa.uiuc.edu/HDF5/
COMMENT=		Hierarchical Data Format (version 5)

DEPENDS+=		jpeg>=6:../../graphics/jpeg

GNU_CONFIGURE=		#defined
USE_LIBTOOL=		#defined
LTCONFIG_OVERRIDE=	${WRKSRC}/bin/ltconfig

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} cf - . ) |		\
	(cd ${PREFIX}/share/doc/html/hdf5/; ${GTAR} xf - )

.include "../../mk/bsd.pkg.mk"