2009-02-23 21:18:45 +01:00
|
|
|
# Ports collection makefile for: netCDF4
|
|
|
|
# Date created: 18 Feb, 2009
|
|
|
|
# Whom: wenheping@gmail.com
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= netCDF4
|
2011-08-25 13:39:43 +02:00
|
|
|
PORTVERSION= 0.9.7
|
2009-02-23 21:18:45 +01:00
|
|
|
CATEGORIES= science python
|
2009-06-24 22:57:37 +02:00
|
|
|
MASTER_SITES= http://netcdf4-python.googlecode.com/files/ \
|
|
|
|
CHEESESHOP
|
2009-02-23 21:18:45 +01:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
2010-02-10 08:41:13 +01:00
|
|
|
MAINTAINER= wen@FreeBSD.org
|
2009-02-23 21:18:45 +01:00
|
|
|
COMMENT= Python Interface to the NetCDF Library(versions 3 and 4)
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/numpy:${PORTSDIR}/math/py-numpy
|
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
2011-07-15 09:00:46 +02:00
|
|
|
LIB_DEPENDS= hdf5.7:${PORTSDIR}/science/hdf5-18 \
|
2011-04-12 17:17:34 +02:00
|
|
|
netcdf.7:${PORTSDIR}/science/netcdf4
|
2009-02-23 21:18:45 +01:00
|
|
|
|
|
|
|
USE_PYTHON= 2.5+
|
|
|
|
USE_PYDISTUTILS= yes
|
|
|
|
|
2009-07-04 12:37:00 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's#/usr/local#${LOCALBASE}#g' \
|
|
|
|
${WRKSRC}/setup.py
|
|
|
|
|
2009-02-23 21:18:45 +01:00
|
|
|
.include <bsd.port.mk>
|