summaryrefslogtreecommitdiff
path: root/devel/hdf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/hdf/Makefile')
-rw-r--r--devel/hdf/Makefile34
1 files changed, 14 insertions, 20 deletions
diff --git a/devel/hdf/Makefile b/devel/hdf/Makefile
index 10a6ea2d22d..fc250b25c70 100644
--- a/devel/hdf/Makefile
+++ b/devel/hdf/Makefile
@@ -1,39 +1,33 @@
-# $NetBSD: Makefile,v 1.16 2003/07/17 21:31:04 grant Exp $
+# $NetBSD: Makefile,v 1.17 2004/04/20 18:14:37 drochner Exp $
-DISTNAME= HDF4.1r5
-PKGNAME= hdf-4.1r5
+DISTNAME= HDF4.2r0
+PKGNAME= hdf-4.2r0
CATEGORIES= devel
-MASTER_SITES= ftp://hdf.ncsa.uiuc.edu/HDF/HDF4.1r5/tar/
+MASTER_SITES= ftp://ftp.ncsa.uiuc.edu/HDF/HDF/HDF4.2r0/src/
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://hdf.ncsa.uiuc.edu/hdf4.html
COMMENT= NCSA Hierarchical Data Format
USE_FORTRAN= # defined
-USE_BUILDLINK2= # defined
+USE_BUILDLINK3= # defined
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-szlib
+CONFIGURE_ARGS+= --includedir=${PREFIX}/include/hdf
post-patch:
- ${MV} -f ${WRKSRC}/mfhdf/libsrc/netcdf.h.in \
- ${WRKSRC}/mfhdf/libsrc/netcdf.h
- ${MV} -f ${WRKSRC}/mfhdf/fortran/config/netcdf-fbsd.inc \
- ${WRKSRC}/mfhdf/fortran/netcdf.inc
${MV} -f ${WRKSRC}/mfhdf/ncdump/ncdump.1 \
${WRKSRC}/mfhdf/ncdump/hdfncdump.1
${MV} -f ${WRKSRC}/mfhdf/ncgen/ncgen.1 \
${WRKSRC}/mfhdf/ncgen/hdfncgen.1
-post-install:
- ${INSTALL_DATA} ${WRKSRC}/mfhdf/fortran/netcdf.inc \
- ${PREFIX}/include/hdf
-
do-test:
- @cd ${WRKSRC}/hdf/test && ${SETENV} ${MAKE_ENV} ${MAKE}
- @cd ${WRKSRC}/hdf/test && ./testhdf
- @cd ${WRKSRC}/hdf/test && ./fortest
+ @cd ${WRKSRC}/hdf/test && ${SETENV} ${MAKE_ENV} ${MAKE} check
@cd ${WRKSRC}/mfhdf/dumper && ${SH} testhdp.sh
- @cd ${WRKSRC}/mfhdf/ncdump && ${SETENV} ${MAKE_ENV} ${MAKE} test
- @cd ${WRKSRC}/mfhdf/nctest && ${SETENV} ${MAKE_ENV} ${MAKE} test
+ @cd ${WRKSRC}/mfhdf/ncdump && ${SETENV} ${MAKE_ENV} ${MAKE} check
+ @cd ${WRKSRC}/mfhdf/nctest && ${SETENV} ${MAKE_ENV} ${MAKE} check
-.include "../../devel/zlib/buildlink2.mk"
-.include "../../graphics/jpeg/buildlink2.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../graphics/jpeg/buildlink3.mk"
+.include "../../archivers/szip/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"