aboutsummaryrefslogtreecommitdiffstats
path: root/science/pycdf/Makefile
blob: 3687568862168e443c86ca3cf217b71c372eb9cd (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
# Created by: wenheping@gmail.com
# $FreeBSD$

PORTNAME=   pycdf
PORTVERSION=    0.6.3
PORTREVISION=   4
CATEGORIES= science python
MASTER_SITES=   SF/pysclint/${PORTNAME}/${PORTNAME}-${PORTVERSION}b
DISTNAME=   ${PORTNAME}-0.6-3b

MAINTAINER= ports@FreeBSD.org
COMMENT=    Python Interface to the Unidata NetCDF Library

BUILD_DEPENDS=  ${PYTHON_SITELIBDIR}/numpy:${PORTSDIR}/math/py-numpy
LIB_DEPENDS=    libnetcdf.so:${PORTSDIR}/science/netcdf
RUN_DEPENDS:=   ${BUILD_DEPENDS}

LDFLAGS+=   "-L${LOCALBASE}/lib"

USE_PYTHON= yes
USE_PYDISTUTILS=    yes
PYDISTUTILS_AUTOPLIST=  yes
WRKSRC=     ${WRKDIR}/${DISTNAME}

.include <bsd.port.mk>