mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
6f6fbe4bdf
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead PR: 157936 Submitted by: myself Exp-runs by: pav Approved by: pav
30 lines
739 B
Makefile
30 lines
739 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/pysclint/${PORTNAME}/${PORTNAME}-${PORTVERSION}b
|
|
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>
|