# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
PortSystem          1.0
PortGroup           python 1.0

name                py-pygrib
version             svnhead
categories-append   science
platforms           darwin
maintainers         openmaintainer
description         Python interface to the Grib API library.
long_description    ${description}
homepage            http://code.google.com/p/pygrib/
master_sites        http://pygrib.googlecode.com/files/
license             MIT

distname            trunk

fetch.type          svn
svn.url             http://pygrib.googlecode.com/svn/${distname}

depends_lib-append  port:py${python.version}-pyproj port:py${python.version}-numpy port:grib_api

python.default_version 27
python.versions        26 27

build.env-append GRIBAPI_DIR=${prefix} PNG_DIR=${prefix} JASPER_DIR=${prefix} OPENJPEG_DIR=${prefix}
