2013-09-20 22:48:30 +00:00
|
|
|
# Created by: wenheping@gmail.com
|
2008-06-03 09:41:36 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= pycdf
|
|
|
|
PORTVERSION= 0.6.3
|
|
|
|
CATEGORIES= science python
|
2009-08-22 00:35:32 +00:00
|
|
|
MASTER_SITES= SF/pysclint/${PORTNAME}/${PORTNAME}-${PORTVERSION}b
|
2008-06-03 09:41:36 +00:00
|
|
|
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
|
2012-01-21 17:40:15 +00:00
|
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
2008-06-03 09:41:36 +00:00
|
|
|
|
2011-09-23 22:26:39 +00:00
|
|
|
LDFLAGS+= "-L${LOCALBASE}/lib"
|
2008-06-03 09:41:36 +00:00
|
|
|
|
|
|
|
USE_PYTHON= 2.5+
|
|
|
|
USE_PYDISTUTILS= yes
|
|
|
|
PYTHON_PKGNAMEPREFIX= yes
|
|
|
|
PYDISTUTILS_EGGINFO= pycdf-0.6_3b-py${PYTHON_VER}.egg-info
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
|
|
|
2013-09-20 22:48:30 +00:00
|
|
|
NO_STAGE= yes
|
2008-06-03 09:41:36 +00:00
|
|
|
.include <bsd.port.mk>
|