diff -ruN /usr/ports/science/py-h5py/Makefile ./Makefile --- /usr/ports/science/py-h5py/Makefile 2013-06-15 17:04:24.798080308 +0300 +++ ./Makefile 2013-06-15 16:50:09.308100218 +0300 @@ -1,9 +1,5 @@ -# Ports collection makefile for: h5py -# Date created: Jun 22, 2009 -# Whom: TAOKA Fumiyoshi -# -# $FreeBSD: ports/science/py-h5py/Makefile,v 1.4 2012/11/17 06:00:59 svnexp Exp $ -# +# Created by: TAOKA Fumiyoshi +# $FreeBSD$ PORTNAME= h5py PORTVERSION= 1.2.1 @@ -17,7 +13,16 @@ BUILD_DEPENDS= ${PYNUMPY} RUN_DEPENDS= ${PYNUMPY} -LIB_DEPENDS= hdf5.0:${PORTSDIR}/science/hdf5 + +OPTIONS_DEFINE= NEW_HDF5 +NEW_HDF5_DESC= Use port science/hdf5-18 instead of science/hdf5 + +.include +.if ${PORT_OPTIONS:MNEW_HDF5} +LIB_DEPENDS=hdf5:${PORTSDIR}/science/hdf5-18 +.else +LIB_DEPENDS= hdf5:${PORTSDIR}/science/hdf5 +.endif USE_PYTHON= 2.5+ USE_PYDISTUTILS= easy_install diff -ruN /usr/ports/science/py-h5py/pkg-descr ./pkg-descr --- /usr/ports/science/py-h5py/pkg-descr 2009-07-13 17:07:16.000000000 +0300 +++ ./pkg-descr 2013-06-15 17:01:31.368711067 +0300 @@ -1,8 +1,7 @@ -The h5py package provides both a high- and low-level interface to the -HDF5 library from Python. The low-level interface is -intended to be a complete wrapping of the HDF5 1.6 API, while the high- -level component supports Python-style object-oriented access to HDF5 files, -datasets and groups. +The h5py package provides both a high- and low-level interface to the HDF5 +library from Python. The low-level interface is intended to be a complete +wrapping of the HDF5 1.6 and 1.8 APIs, while the high-level component supports +Python-style object-oriented access to HDF5 files, datasets and groups. The goal of this package is not to provide yet another scientific data model. It is an attempt to create as straightforward a binding as possible