1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/science/pycdf/Makefile
Martin Wilke ee2016f4e0 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
2008-06-03 09:41:36 +00:00

31 lines
718 B
Makefile

# 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 <bsd.port.mk>