1 | # -*- 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 |
---|
2 | # $Id: Portfile 94600 2012-06-25 01:18:51Z jmr@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup python 1.0 |
---|
6 | |
---|
7 | name py-pygrib |
---|
8 | version 1.9.5 |
---|
9 | categories-append science |
---|
10 | platforms darwin |
---|
11 | maintainers fastmail.fm:jswhit openmaintainer |
---|
12 | description Python interface to the Grib API library |
---|
13 | long_description ${description} |
---|
14 | homepage http://code.google.com/p/pygrib/ |
---|
15 | master_sites http://pygrib.googlecode.com/files/ |
---|
16 | license MIT |
---|
17 | |
---|
18 | distname pygrib-${version} |
---|
19 | checksums md5 e14a9c7fa6bc0c8036b6f45cac6eb187 \ |
---|
20 | sha1 29b288d0bad17d0cb375800bd3d2b496744658f5 \ |
---|
21 | rmd160 b167fe0221e39470fa4a78afcb79eb761b00d7fb \ |
---|
22 | |
---|
23 | python.versions 26 27 |
---|
24 | python.default_version 27 |
---|
25 | |
---|
26 | if {$subport != $name} { |
---|
27 | depends_lib-append port:py${python.version}-pyproj port:py${python.version}-numpy port:grib_api |
---|
28 | build.env-append GRIBAPI_DIR=${prefix} PNG_DIR=${prefix} JASPER_DIR=${prefix} OPENJPEG_DIR=${prefix} |
---|
29 | } |
---|