blob: a76f7d051141ba9657cb0e2aefe0017656129a7b (
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
|
# Created by: wenheping@gmail.com
# $FreeBSD$
PORTNAME= pycdf
PORTVERSION= 0.6.3
PORTREVISION= 7
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
LIB_DEPENDS= libnetcdf.so:science/netcdf
BUILD_DEPENDS= ${PYNUMPY}
RUN_DEPENDS:= ${BUILD_DEPENDS}
LDFLAGS+= "-L${LOCALBASE}/lib"
USES= python:2.7
USE_PYTHON= distutils autoplist
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pycdf/_pycdfext.so
.include <bsd.port.mk>
|