# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # pycdf # pycdf/Makefile # pycdf/distinfo # pycdf/pkg-descr # pycdf/pkg-plist # pycdf/files # pycdf/files/patch-setup.py # echo c - pycdf mkdir -p pycdf > /dev/null 2>&1 echo x - pycdf/Makefile sed 's/^X//' >pycdf/Makefile << 'END-of-pycdf/Makefile' X# Ports collection makefile for: pycdf X# Date created: 30 April, 2008 X# Whom: wenheping@gmail.com X# X# $FreeBSD$ X# X XPORTNAME= pycdf XPORTVERSION= 0.6.3 XCATEGORIES= science python XMASTER_SITES= SF XMASTER_SITE_SUBDIR= pysclint XDISTNAME= ${PORTNAME}-0.6-3b X XMAINTAINER= wenheping@gmail.com XCOMMENT= A Python Interface to the Unidata NetCDF Library X XBUILD_DEPENDS= ${PYTHON_SITELIBDIR}/numpy:${PORTSDIR}/math/py-numpy \ X libnetcdf.so:${PORTSDIR}/science/netcdf XRUN_DEPENDS= ${BUILD_DEPENDS} XLDFLAGS= "-L${PREFIX}/lib" X XUSE_PYTHON= yes XUSE_PYDISTUTILS= yes XPYTHON_PKGNAMEPREFIX= yes XWRKSRC= ${WRKDIR}/${DISTNAME} X X.include END-of-pycdf/Makefile echo x - pycdf/distinfo sed 's/^X//' >pycdf/distinfo << 'END-of-pycdf/distinfo' XMD5 (pycdf-0.6-3b.tar.gz) = 5560a6e0b8de9c743782bad49e1b7957 XSHA256 (pycdf-0.6-3b.tar.gz) = 10ae206be61682cd57e0e961b1d6d7db07129e02b80f9f42006275053255daf4 XSIZE (pycdf-0.6-3b.tar.gz) = 168713 END-of-pycdf/distinfo echo x - pycdf/pkg-descr sed 's/^X//' >pycdf/pkg-descr << 'END-of-pycdf/pkg-descr' XPycdf is a python interface to the Unidata XnetCDF library. It provides an almost complete Xcoverage of the netCDF C API, wrapping it Xinside easy to use python classes. X Xpycdf has been written so as to stick as closely Xas possible to the naming conventions and Xcalling sequences documented inside the X"NetCDF Users Guide for C" manual. Even if Xpycdf gives an OOP twist to the C API, the C Xmanual can be easily used as a documentary source Xfor pycdf, once the class to which a method Xbelongs has been identified, and of course once Xrequirements imposed by the Python langage have Xbeen taken into account. X XWWW: http://pysclint.sourceforge.net/pycdf/ END-of-pycdf/pkg-descr echo x - pycdf/pkg-plist sed 's/^X//' >pycdf/pkg-plist << 'END-of-pycdf/pkg-plist' X%%PYTHON_SITELIBDIR%%/pycdf/__init__.py X%%PYTHON_SITELIBDIR%%/pycdf/__init__.pyc X%%PYTHON_SITELIBDIR%%/pycdf/__init__.pyo X%%PYTHON_SITELIBDIR%%/pycdf/_pycdfext.so X%%PYTHON_SITELIBDIR%%/pycdf/pycdf.py X%%PYTHON_SITELIBDIR%%/pycdf/pycdf.pyc X%%PYTHON_SITELIBDIR%%/pycdf/pycdf.pyo X%%PYTHON_SITELIBDIR%%/pycdf/pycdfext.py X%%PYTHON_SITELIBDIR%%/pycdf/pycdfext.pyc X%%PYTHON_SITELIBDIR%%/pycdf/pycdfext.pyo X%%PYTHON_SITELIBDIR%%/pycdf/pycdfext_array.py X%%PYTHON_SITELIBDIR%%/pycdf/pycdfext_array.pyc X%%PYTHON_SITELIBDIR%%/pycdf/pycdfext_array.pyo X%%PYTHON_SITELIBDIR%%/pycdf-0.6.3-py2.5.egg-info X@dirrm %%PYTHON_SITELIBDIR%%/pycdf END-of-pycdf/pkg-plist echo c - pycdf/files mkdir -p pycdf/files > /dev/null 2>&1 echo x - pycdf/files/patch-setup.py sed 's/^X//' >pycdf/files/patch-setup.py << 'END-of-pycdf/files/patch-setup.py' X--- setup.py.orig 2008-05-29 12:04:28.000000000 +0000 X+++ setup.py 2008-05-29 12:04:42.000000000 +0000 X@@ -73,7 +73,7 @@ X from numpy.distutils.misc_util import get_numpy_include_dirs X _pycdf_ext = Extension(extName, X sources = CCode, X- #library_dirs=["non standard path where libs live"], X+ library_dirs=["/usr/local/lib"], X include_dirs = get_numpy_include_dirs(), X libraries = ["netcdf"]) X END-of-pycdf/files/patch-setup.py exit