summaryrefslogtreecommitdiff
path: root/devel/hdf5/Makefile
blob: 81b6294f37f74f49a33d6ca8c8a896547ee8b587 (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
# $NetBSD: Makefile,v 1.45 2011/10/07 10:38:50 alnsn Exp $

PKGNAME=	hdf5-${HDF5_VER}
COMMENT=	Hierarchical Data Format (new generation)

INSTALLATION_DIRS=	bin lib include
INSTALLATION_DIRS+=	share/doc/hdf5
INSTALLATION_DIRS+=	share/examples/hdf5/c

post-install:
	${INSTALL_SCRIPT} ${WRKSRC}/tools/misc/h5cc \
	    ${DESTDIR}${PREFIX}/bin/
	${INSTALL_SCRIPT} ${WRKSRC}/tools/misc/h5redeploy.in \
	    ${DESTDIR}${PREFIX}/bin/h5redeploy
	cd ${WRKSRC} && ${INSTALL_DATA} COPYING \
	    release_docs/RELEASE.txt \
	    release_docs/HISTORY-1_8.txt \
	    release_docs/HISTORY-1_0-1_8_0_rc3.txt \
	    ${DESTDIR}${PREFIX}/share/doc/hdf5/

.include "Makefile.common"
.include "options.mk"

.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"