| @@ -1,42 +1,44 @@ | | | @@ -1,42 +1,44 @@ |
1 | # $NetBSD: Makefile,v 1.42 2009/11/15 15:50:50 drochner Exp $ | | 1 | # $NetBSD: Makefile,v 1.43 2010/02/06 22:11:44 gdt Exp $ |
2 | | | 2 | |
3 | DISTNAME= hdf5-1.6.10 | | 3 | DISTNAME= hdf5-1.6.10 |
4 | CATEGORIES= devel | | 4 | CATEGORIES= devel |
5 | MASTER_SITES= ftp://ftp.hdfgroup.org/HDF5/current16/src/ | | 5 | MASTER_SITES= ftp://ftp.hdfgroup.org/HDF5/current16/src/ |
6 | | | 6 | |
7 | MAINTAINER= pkgsrc-users@NetBSD.org | | 7 | MAINTAINER= pkgsrc-users@NetBSD.org |
8 | HOMEPAGE= http://www.hdfgroup.org/HDF5/ | | 8 | HOMEPAGE= http://www.hdfgroup.org/HDF5/ |
9 | COMMENT= Hierarchical Data Format (new generation) | | 9 | COMMENT= Hierarchical Data Format (new generation) |
10 | | | 10 | |
| | | 11 | LICENSE= original-bsd |
| | | 12 | |
11 | USE_LIBTOOL= yes | | 13 | USE_LIBTOOL= yes |
12 | USE_TOOLS+= pax tr | | 14 | USE_TOOLS+= pax tr |
13 | GNU_CONFIGURE= yes | | 15 | GNU_CONFIGURE= yes |
14 | TEST_TARGET= check | | 16 | TEST_TARGET= check |
15 | PKG_DESTDIR_SUPPORT= user-destdir | | 17 | PKG_DESTDIR_SUPPORT= user-destdir |
16 | INSTALLATION_DIRS+= include lib bin share/examples/hdf5/c | | 18 | INSTALLATION_DIRS+= include lib bin share/examples/hdf5/c |
17 | | | 19 | |
18 | # it appears that this file is informative only and is not actually | | 20 | # it appears that this file is informative only and is not actually |
19 | # used by any installed tools | | 21 | # used by any installed tools |
20 | CHECK_WRKREF_SKIP= ${PREFIX}/lib/libhdf5.settings | | 22 | CHECK_WRKREF_SKIP= ${PREFIX}/lib/libhdf5.settings |
21 | | | 23 | |
22 | .include "options.mk" | | 24 | .include "options.mk" |
23 | | | 25 | |
24 | INSTALL_ENV+= INSTALL_SCRIPT=${INSTALL_SCRIPT:Q} | | 26 | INSTALL_ENV+= INSTALL_SCRIPT=${INSTALL_SCRIPT:Q} |
25 | INSTALLATION_DIRS+= share/doc/hdf5 | | 27 | INSTALLATION_DIRS+= share/doc/hdf5 |
26 | INSTALLATION_DIRS+= share/doc/hdf5/html | | 28 | INSTALLATION_DIRS+= share/doc/hdf5/html |
27 | | | 29 | |
28 | post-extract: | | 30 | post-extract: |
29 | ${CP} ${WRKSRC}/config/freebsd ${WRKSRC}/config/netbsd | | 31 | ${CP} ${WRKSRC}/config/freebsd ${WRKSRC}/config/netbsd |
30 | ${CP} ${WRKSRC}/config/freebsd ${WRKSRC}/config/netbsdelf | | 32 | ${CP} ${WRKSRC}/config/freebsd ${WRKSRC}/config/netbsdelf |
31 | | | 33 | |
32 | post-install: | | 34 | post-install: |
33 | ${INSTALL_SCRIPT} ${WRKSRC}/tools/misc/h5cc ${DESTDIR}${PREFIX}/bin | | 35 | ${INSTALL_SCRIPT} ${WRKSRC}/tools/misc/h5cc ${DESTDIR}${PREFIX}/bin |
34 | ${INSTALL_SCRIPT} ${WRKSRC}/tools/misc/h5redeploy.in ${DESTDIR}${PREFIX}/bin/h5redeploy | | 36 | ${INSTALL_SCRIPT} ${WRKSRC}/tools/misc/h5redeploy.in ${DESTDIR}${PREFIX}/bin/h5redeploy |
35 | cd ${WRKSRC} && ${INSTALL_DATA} COPYING release_docs/HISTORY.txt \ | | 37 | cd ${WRKSRC} && ${INSTALL_DATA} COPYING release_docs/HISTORY.txt \ |
36 | release_docs/RELEASE.txt ${DESTDIR}${PREFIX}/share/doc/hdf5 | | 38 | release_docs/RELEASE.txt ${DESTDIR}${PREFIX}/share/doc/hdf5 |
37 | # avoid installing the Makefile and Makefile.in's They are not needed | | 39 | # avoid installing the Makefile and Makefile.in's They are not needed |
38 | cd ${WRKSRC}/doc/html && pax -s '/.*Makefile.*//' -rwpm . ${DESTDIR}${PREFIX}/share/doc/hdf5/html | | 40 | cd ${WRKSRC}/doc/html && pax -s '/.*Makefile.*//' -rwpm . ${DESTDIR}${PREFIX}/share/doc/hdf5/html |
39 | ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DESTDIR}${PREFIX}/share/doc/hdf5/html | | 41 | ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DESTDIR}${PREFIX}/share/doc/hdf5/html |
40 | | | 42 | |
41 | .include "../../devel/zlib/buildlink3.mk" | | 43 | .include "../../devel/zlib/buildlink3.mk" |
42 | .include "../../mk/bsd.pkg.mk" | | 44 | .include "../../mk/bsd.pkg.mk" |