360d889450
libaec is a BSD-licensed drop-in replacement for the non-redistributable szip
39 lines
1.2 KiB
Makefile
39 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.41 2019/05/01 12:36:09 bacon Exp $
|
|
|
|
DISTNAME= HDF4.2r4
|
|
PKGNAME= hdf-4.2r4
|
|
PKGREVISION= 3
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ftp://ftp.hdfgroup.org/HDF/HDF_Current/src/
|
|
EXTRACT_USING= bsdtar
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://www.hdfgroup.org/products/hdf4/
|
|
COMMENT= NCSA Hierarchical Data Format
|
|
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= lex gmake yacc
|
|
USE_LANGUAGES= c fortran77
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --includedir=${PREFIX}/include/hdf
|
|
CONFIGURE_ARGS+= --with-szlib
|
|
# pkgsrc libtool builds shared objects anyway
|
|
#CONFIGURE_ARGS+= --enable-shared
|
|
|
|
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
|
|
|
|
do-test:
|
|
@cd ${WRKSRC}/hdf/test && ${SETENV} ${MAKE_ENV} ${MAKE} check
|
|
@cd ${WRKSRC}/mfhdf/dumper && ${SH} testhdp.sh
|
|
@cd ${WRKSRC}/mfhdf/ncdump && ${SETENV} ${MAKE_ENV} ${MAKE} check
|
|
@cd ${WRKSRC}/mfhdf/nctest && ${SETENV} ${MAKE_ENV} ${MAKE} check
|
|
|
|
.include "../../archivers/libaec/buildlink3.mk"
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../mk/jpeg.buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|