pkgsrc/devel/hdf/Makefile

40 lines
1.2 KiB
Makefile
Raw Normal View History

2003-07-17 23:31:04 +02:00
# $NetBSD: Makefile,v 1.16 2003/07/17 21:31:04 grant Exp $
2002-05-04 01:14:52 +02:00
DISTNAME= HDF4.1r5
PKGNAME= hdf-4.1r5
CATEGORIES= devel
MASTER_SITES= ftp://hdf.ncsa.uiuc.edu/HDF/HDF4.1r5/tar/
2003-07-17 23:31:04 +02:00
MAINTAINER= tech-pkg@NetBSD.org
2002-05-04 01:14:52 +02:00
HOMEPAGE= http://hdf.ncsa.uiuc.edu/hdf4.html
COMMENT= NCSA Hierarchical Data Format
2002-05-04 01:14:52 +02:00
USE_FORTRAN= # defined
2002-10-09 20:34:58 +02:00
USE_BUILDLINK2= # defined
post-patch:
${MV} -f ${WRKSRC}/mfhdf/libsrc/netcdf.h.in \
2002-05-04 01:14:52 +02:00
${WRKSRC}/mfhdf/libsrc/netcdf.h
${MV} -f ${WRKSRC}/mfhdf/fortran/config/netcdf-fbsd.inc \
2002-05-04 01:14:52 +02:00
${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:
2002-05-04 01:14:52 +02:00
${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}/mfhdf/dumper && ${SH} testhdp.sh
@cd ${WRKSRC}/mfhdf/ncdump && ${SETENV} ${MAKE_ENV} ${MAKE} test
@cd ${WRKSRC}/mfhdf/nctest && ${SETENV} ${MAKE_ENV} ${MAKE} test
2002-10-09 20:34:58 +02:00
.include "../../devel/zlib/buildlink2.mk"
.include "../../graphics/jpeg/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"