diff options
Diffstat (limited to 'science/hdf/Makefile')
-rw-r--r-- | science/hdf/Makefile | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/science/hdf/Makefile b/science/hdf/Makefile index 41bd19b4c239..df05283de599 100644 --- a/science/hdf/Makefile +++ b/science/hdf/Makefile @@ -2,12 +2,11 @@ # $FreeBSD$ PORTNAME= hdf -DISTVERSION= 4.2.8 -PORTREVISION= 4 +PORTVERSION= 4.2.11 PORTEPOCH= 1 CATEGORIES= science archivers graphics -MASTER_SITES= http://www.hdfgroup.org/ftp/HDF/releases/%SUBDIR%/ -MASTER_SITE_SUBDIR= ${PORTNAME:tu}${PORTVERSION}/src/ +MASTER_SITES= http://www.hdfgroup.org/ftp/HDF/releases/HDF${PORTVERSION}/src/ \ + ftp://ftp.hdfgroup.org/HDF/releases/HDF${PORTVERSION}/src/ MAINTAINER= ports@FreeBSD.org COMMENT= Hierarchical Data Format library (from NCSA) @@ -18,25 +17,24 @@ LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ CONFLICTS= netcdf-* GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-jpeg="${LOCALBASE}" \ - --with-szlib="${LOCALBASE}" \ - --enable-shared +CONFIGURE_ARGS= --enable-shared --with-jpeg=${LOCALBASE} --with-szlib=${LOCALBASE} INSTALL_TARGET= install-strip -USES= fortran libtool tar:bzip2 USE_LDCONFIG= yes +USES= fortran libtool tar:bzip2 + +PORTDATA= * +PORTEXAMPLES= * BROKEN_powerpc= Does not compile on powerpc post-patch: - @${REINPLACE_CMD} -e \ - '/PROD_/s|=.*|=""|' ${WRKSRC}/config/freebsd + @${REINPLACE_CMD} -e '/PROD_/ s|=.*|=""|' ${WRKSRC}/config/freebsd post-install: - ${INSTALL_MAN} ${WRKSRC}/man/hdfunpac.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 - ${INSTALL_MAN} ${WRKSRC}/man/gr_chunk.3 ${STAGEDIR}${MAN3PREFIX}/man/man3 + ${INSTALL_MAN} ${WRKSRC}/man/hdfunpac.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/ + ${INSTALL_MAN} ${WRKSRC}/man/gr_chunk.3 ${STAGEDIR}${MAN3PREFIX}/man/man3/ -check regression-test test: build - @(cd ${WRKSRC}/hdf/test && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \ - ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check) +regression-test test: build + cd ${WRKSRC}/hdf/test/ && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check .include <bsd.port.mk> |