2005-05-22 22:28:47 +02:00
|
|
|
# $NetBSD: Makefile,v 1.24 2005/05/22 20:28:47 jlam Exp $
|
2001-02-28 23:18:38 +01:00
|
|
|
|
2005-02-24 17:25:38 +01:00
|
|
|
DISTNAME= HDF4.2r1
|
|
|
|
PKGNAME= hdf-4.2r1
|
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ftp://ftp.ncsa.uiuc.edu/HDF/HDF/HDF4.2r1/src/
|
2001-02-28 23:18:38 +01:00
|
|
|
|
2005-02-24 17:25:38 +01:00
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
|
|
HOMEPAGE= http://hdf.ncsa.uiuc.edu/hdf4.html
|
|
|
|
COMMENT= NCSA Hierarchical Data Format
|
|
|
|
|
2005-05-22 22:28:47 +02:00
|
|
|
#USE_TOOLS+= bison
|
2005-05-22 22:07:36 +02:00
|
|
|
USE_TOOLS+= gmake
|
2005-02-24 17:25:38 +01:00
|
|
|
USE_LANGUAGES= c fortran
|
2004-04-20 20:14:37 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+= --includedir=${PREFIX}/include/hdf
|
2005-02-24 17:25:38 +01:00
|
|
|
CONFIGURE_ARGS+= --with-szlib
|
2001-02-28 23:18:38 +01:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
${MV} -f ${WRKSRC}/mfhdf/ncdump/ncdump.1 \
|
|
|
|
${WRKSRC}/mfhdf/ncdump/hdfncdump.1
|
|
|
|
${MV} -f ${WRKSRC}/mfhdf/ncgen/ncgen.1 \
|
|
|
|
${WRKSRC}/mfhdf/ncgen/hdfncgen.1
|
|
|
|
|
2003-07-12 15:19:03 +02:00
|
|
|
do-test:
|
2004-04-20 20:14:37 +02:00
|
|
|
@cd ${WRKSRC}/hdf/test && ${SETENV} ${MAKE_ENV} ${MAKE} check
|
2001-03-23 00:19:16 +01:00
|
|
|
@cd ${WRKSRC}/mfhdf/dumper && ${SH} testhdp.sh
|
2004-04-20 20:14:37 +02:00
|
|
|
@cd ${WRKSRC}/mfhdf/ncdump && ${SETENV} ${MAKE_ENV} ${MAKE} check
|
|
|
|
@cd ${WRKSRC}/mfhdf/nctest && ${SETENV} ${MAKE_ENV} ${MAKE} check
|
2001-02-28 23:18:38 +01:00
|
|
|
|
2005-02-24 17:25:38 +01:00
|
|
|
.include "../../archivers/szip/buildlink3.mk"
|
2004-04-20 20:14:37 +02:00
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
|
|
.include "../../graphics/jpeg/buildlink3.mk"
|
2005-02-24 17:25:38 +01:00
|
|
|
|
2001-02-28 23:18:38 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|