blob: a3c8ad6510f955212456722f812c241d91e28458 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Ports collection makefile for: netCDF4
# Date created: 18 Feb, 2009
# Whom: wenheping@gmail.com
#
# $FreeBSD$
#
PORTNAME= netCDF4
PORTVERSION= 0.8.1
PORTREVISION= 1
CATEGORIES= science python
MASTER_SITES= http://netcdf4-python.googlecode.com/files/ \
CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= wenheping@gmail.com
COMMENT= Python Interface to the NetCDF Library(versions 3 and 4)
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/numpy:${PORTSDIR}/math/py-numpy
RUN_DEPENDS= ${BUILD_DEPENDS}
LIB_DEPENDS= hdf5.6:${PORTSDIR}/science/hdf5-18 \
netcdf.6:${PORTSDIR}/science/netcdf4
USE_PYTHON= 2.5+
USE_PYDISTUTILS= yes
post-patch:
@${REINPLACE_CMD} -e 's#/usr/local#${LOCALBASE}#g' \
${WRKSRC}/setup.py
.include <bsd.port.mk>
|