diff options
author | Greg Lewis <glewis@FreeBSD.org> | 2005-03-17 19:04:23 +0000 |
---|---|---|
committer | Greg Lewis <glewis@FreeBSD.org> | 2005-03-17 19:04:23 +0000 |
commit | fe1858f28aac480fac80b6b42e3b259ec74c6774 (patch) | |
tree | 0a86dc89e42da3e78a931ea0ad738af98e8cca28 /science/hdf/Makefile | |
parent | 1fc70be63dee96324b50dd5f92f019a2ed423631 (diff) | |
download | ports-fe1858f28aac480fac80b6b42e3b259ec74c6774.tar.gz ports-fe1858f28aac480fac80b6b42e3b259ec74c6774.zip |
Notes
Diffstat (limited to 'science/hdf/Makefile')
-rw-r--r-- | science/hdf/Makefile | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/science/hdf/Makefile b/science/hdf/Makefile index 1002a5f48cd1..f648d4e7fb03 100644 --- a/science/hdf/Makefile +++ b/science/hdf/Makefile @@ -6,26 +6,28 @@ # PORTNAME= hdf -PORTVERSION= 4.1r5 +PORTVERSION= 4.2r1 CATEGORIES= science archivers graphics -MASTER_SITES= ftp://ftp.ncsa.uiuc.edu/HDF/HDF/HDF${PORTVERSION}/tar/ +MASTER_SITES= ftp://ftp.ncsa.uiuc.edu/HDF/HDF/HDF${PORTVERSION}/src/ DISTNAME= HDF${PORTVERSION} -MAINTAINER= mi@aldan.algebra.com +MAINTAINER= glewis@FreeBSD.org COMMENT= Hierarchical Data Format library (from NCSA) +BUILD_DEPENDS= ${LOCALBASE}/bin/libtool15:${PORTSDIR}/devel/libtool15 LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg CONFLICTS= netcdf-* +GNU_CONFIGURE= yes +CONFIGURE_ARGS+=--with-jpeg="${LOCALBASE}" +USE_REINPLACE= yes + MAN1= hdf.1 hdfunpac.1 ncdump.1 ncgen.1 -MAN3= gr_chunk.3 -MANCOMPRESSED= maybe +MANCOMPRESSED= no INSTALLS_SHLIB= yes -MAKE_ARGS= PREFIX="${PREFIX}" -j 2 - .include <bsd.port.pre.mk> .if ${ARCH} != "i386" && ${ARCH} != "alpha" @@ -33,16 +35,10 @@ BROKEN= "Does not compile on !i386 and !alpha" .endif post-patch: - ${RM} -rf ${WRKSRC}/hdf/jpeg - ${RM} -rf ${WRKSRC}/hdf/zlib - -do-configure: - ${CP} -rp ${FILESDIR}/Makefile ${FILESDIR}/hdf \ - ${FILESDIR}/mfhdf ${FILESDIR}/man ${WRKSRC} - ${LN} -s config/netcdf-fbsd.h ${WRKSRC}/mfhdf/libsrc/netcdf.h - ${LN} -s netcdf-fbsd.inc ${WRKSRC}/mfhdf/fortran/config/netcdf.inc + ${REINPLACE_CMD} -e "s:%%LOCALBASE%%:${LOCALBASE}:" \ + ${WRKSRC}/hdf/src/Makefile.in ${WRKSRC}/mfhdf/libsrc/Makefile.in test: build - cd ${WRKSRC}; ${MAKE} test + cd ${WRKSRC}/hdf/test && ${MAKE} check .include <bsd.port.post.mk> |