blob: 10a6ea2d22da5ddceb8f7d54586dbc2bc8dd910c (
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
28
29
30
31
32
33
34
35
36
37
38
39
|
# $NetBSD: Makefile,v 1.16 2003/07/17 21:31:04 grant Exp $
DISTNAME= HDF4.1r5
PKGNAME= hdf-4.1r5
CATEGORIES= devel
MASTER_SITES= ftp://hdf.ncsa.uiuc.edu/HDF/HDF4.1r5/tar/
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://hdf.ncsa.uiuc.edu/hdf4.html
COMMENT= NCSA Hierarchical Data Format
USE_FORTRAN= # defined
USE_BUILDLINK2= # defined
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}/mfhdf/dumper && ${SH} testhdp.sh
@cd ${WRKSRC}/mfhdf/ncdump && ${SETENV} ${MAKE_ENV} ${MAKE} test
@cd ${WRKSRC}/mfhdf/nctest && ${SETENV} ${MAKE_ENV} ${MAKE} test
.include "../../devel/zlib/buildlink2.mk"
.include "../../graphics/jpeg/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
|