2008-07-14 14:55:56 +02:00
|
|
|
# $NetBSD: Makefile,v 1.30 2008/07/14 12:56:01 joerg Exp $
|
2001-02-28 23:18:38 +01:00
|
|
|
|
2005-02-24 17:25:38 +01:00
|
|
|
DISTNAME= HDF4.2r1
|
|
|
|
PKGNAME= hdf-4.2r1
|
2006-02-06 00:08:03 +01:00
|
|
|
PKGREVISION= 1
|
2005-02-24 17:25:38 +01:00
|
|
|
CATEGORIES= devel
|
2007-11-18 11:39:56 +01:00
|
|
|
MASTER_SITES= ftp://ftp.hdfgroup.org/HDF/prev-releases/HDF4.2r1/src/
|
2001-02-28 23:18:38 +01:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2005-02-24 17:25:38 +01:00
|
|
|
HOMEPAGE= http://hdf.ncsa.uiuc.edu/hdf4.html
|
|
|
|
COMMENT= NCSA Hierarchical Data Format
|
|
|
|
|
2008-07-14 14:55:56 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2006-06-27 18:04:29 +02:00
|
|
|
USE_TOOLS+= lex gmake yacc
|
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"
|