diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2013-08-31 08:01:25 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2013-08-31 08:01:25 +0000 |
commit | 0d2b3f23d131b9f1a29e24779646a92744ba9483 (patch) | |
tree | 0ef0baea7a588356a981372709b409ef69916bb7 /science/hdf5-18/Makefile | |
parent | 30b67db7f0c7e44f24cc99805f1316bb87a96fae (diff) | |
download | ports-0d2b3f23d131b9f1a29e24779646a92744ba9483.tar.gz ports-0d2b3f23d131b9f1a29e24779646a92744ba9483.zip |
- Update to 1.8.10 patch 1
- Update MASTER_SITES
- Cosmetic change
- Take maintainership
- Reformat pkg-descr
Changes: http://www.hdfgroup.org/ftp/HDF5/releases/hdf5-1.8.10-patch1/src/hdf5-1.8.10-patch1-RELEASE.txt
PR: ports/176809
Submitted by: sunpoet (myself)
Approved by: maintainer (timeout, 24 weeks)
Notes
Notes:
svn path=/head/; revision=325778
Diffstat (limited to 'science/hdf5-18/Makefile')
-rw-r--r-- | science/hdf5-18/Makefile | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/science/hdf5-18/Makefile b/science/hdf5-18/Makefile index 2844c72ec0e9..3b4ad14a523d 100644 --- a/science/hdf5-18/Makefile +++ b/science/hdf5-18/Makefile @@ -2,17 +2,19 @@ # $FreeBSD$ PORTNAME= hdf5 -PORTVERSION= 1.8.9 +PORTVERSION= 1.8.10 CATEGORIES= science archivers graphics MASTER_SITES= http://www.hdfgroup.org/ftp/HDF5/current/src/ \ ftp://ftp.hdfgroup.org/HDF5/current/src/ \ - http://www.hdfgroup.org/ftp/HDF5/releases/${PORTNAME}-${PORTVERSION}/src/ \ - ftp://ftp.hdfgroup.org/HDF5/releases/${PORTNAME}-${PORTVERSION}/src/ -#DISTNAME= ${PORTNAME}-${PORTVERSION}-patch1 + http://www.hdfgroup.org/ftp/HDF5/releases/${DISTNAME}/src/ \ + ftp://ftp.hdfgroup.org/HDF5/releases/${DISTNAME}/src/ +DISTNAME= ${PORTNAME}-${PORTVERSION}-patch1 -MAINTAINER= koziol@hdfgroup.org +MAINTAINER= sunpoet@FreeBSD.org COMMENT= Hierarchical Data Format library (from NCSA) +OPTIONS_DEFINE= DEBUG EXAMPLES FORTRAN SZIP + CONFLICTS= hdf-4.* hdf5-1.6.* NO_LATEST_LINK= yes @@ -25,20 +27,16 @@ CONFIGURE_ARGS= --enable-cxx \ --with-pthread=/usr \ --with-zlib=/usr -OPTIONS_DEFINE= DEBUG FORTRAN SZIP EXAMPLES -FORTRAN_DESC= Fortran support -SZIP_DESC= SZIP support - -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> .if ${PORT_OPTIONS:MDEBUG} -CONFIGURE_ARGS+= --enable-debug=all --disable-production +CONFIGURE_ARGS+=--disable-production --enable-debug=all .endif .if ${PORT_OPTIONS:MFORTRAN} USE_FORTRAN= yes -CONFIGURE_ENV+= F9X=${FC} CONFIGURE_ARGS+=--enable-fortran +CONFIGURE_ENV+= F9X=${FC} PLIST_SUB+= FORTRAN="" .else PLIST_SUB+= FORTRAN="@comment " @@ -49,6 +47,8 @@ LIB_DEPENDS+= sz:${PORTSDIR}/science/szip CONFIGURE_ARGS+=--with-szlib=${LOCALBASE} .endif +.include <bsd.port.pre.mk> + .if ${ARCH} == "sparc64" BROKEN= Does not compile on ${ARCH} .endif @@ -62,11 +62,11 @@ post-patch: -e 's|(INSTALL)|(INSTALL_DATA)|' \ `${FIND} ${WRKSRC} -regex '.*/examples/Makefile.in'` @${REINPLACE_CMD} -e 's|\[ -a|\[ -f|g' `${FIND} ${WRKSRC} -name \*.sh\*` -.if ! ${PORT_OPTIONS:MEXAMPLES} +.if !${PORT_OPTIONS:MEXAMPLES} @${REINPLACE_CMD} -e '/^install:/ s|install-examples||' ${WRKSRC}/Makefile.in .endif -regression-test: build - @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check +regression-test test: build + cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE} check .include <bsd.port.post.mk> |