From ee2016f4e0c358f47280f662dae74d251ef0e3f9 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Tue, 3 Jun 2008 09:41:36 +0000 Subject: Pycdf is a python interface to the Unidata netCDF library. It provides an almost complete coverage of the netCDF C API, wrapping it inside easy to use python classes. WWW: http://pysclint.sourceforge.net/pycdf/ PR: ports/123303 Submitted by: wenheping at gmail.com --- science/pycdf/Makefile | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 science/pycdf/Makefile (limited to 'science/pycdf/Makefile') diff --git a/science/pycdf/Makefile b/science/pycdf/Makefile new file mode 100644 index 000000000000..2dd5cc6e74da --- /dev/null +++ b/science/pycdf/Makefile @@ -0,0 +1,30 @@ +# Ports collection makefile for: pycdf +# Date created: 30 April, 2008 +# Whom: wenheping@gmail.com +# +# $FreeBSD$ +# + +PORTNAME= pycdf +PORTVERSION= 0.6.3 +CATEGORIES= science python +MASTER_SITES= SF +MASTER_SITE_SUBDIR= pysclint +DISTNAME= ${PORTNAME}-0.6-3b + +MAINTAINER= wenheping@gmail.com +COMMENT= A Python Interface to the Unidata NetCDF Library + +BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/numpy:${PORTSDIR}/math/py-numpy \ + ${LOCALBASE}/lib/libnetcdf.so:${PORTSDIR}/science/netcdf +RUN_DEPENDS= ${BUILD_DEPENDS} + +LDFLAGS= "-L${LOCALBASE}/lib" + +USE_PYTHON= 2.5+ +USE_PYDISTUTILS= yes +PYTHON_PKGNAMEPREFIX= yes +PYDISTUTILS_EGGINFO= pycdf-0.6_3b-py${PYTHON_VER}.egg-info +WRKSRC= ${WRKDIR}/${DISTNAME} + +.include -- cgit v1.2.3