1 | # $Id: Portfile 114324 2013-12-05 08:44:51Z ryandesign@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup python 1.0 |
---|
5 | |
---|
6 | name py-matplotlib-basemap |
---|
7 | version 1.0.7 |
---|
8 | categories-append graphics math |
---|
9 | license LGPL-2.1 |
---|
10 | platforms darwin |
---|
11 | maintainers nomaintainer |
---|
12 | |
---|
13 | description matplotlib toolkit for plotting data on map projections |
---|
14 | long_description Matplotlib basemap is a matplotlib toolkit python library \ |
---|
15 | for plotting data on map projections |
---|
16 | |
---|
17 | homepage http://matplotlib.org/basemap/ |
---|
18 | master_sites sourceforge:project/matplotlib/matplotlib-toolkits/basemap-${version}/ |
---|
19 | distname basemap-${version} |
---|
20 | dist_subdir ${name}/${version}_${revision} |
---|
21 | |
---|
22 | checksums rmd160 31ba295f21c3fb7c69499fdbb9e06fc4c27dd116 \ |
---|
23 | sha256 e07ec2e0d63b24c9aed25a09fe8aff2598f82a85da8db74190bac81cbf104531 |
---|
24 | |
---|
25 | python.versions 26 27 |
---|
26 | |
---|
27 | build.env-append GEOS_DIR="${prefix}" |
---|
28 | destroot.env-append GEOS_DIR="${prefix}" |
---|
29 | |
---|
30 | universal_variant no |
---|
31 | |
---|
32 | if {${name} ne ${subport}} { |
---|
33 | depends_lib-append port:geos \ |
---|
34 | port:py${python.version}-matplotlib \ |
---|
35 | port:py${python.version}-httplib2 \ |
---|
36 | port:py${python.version}-dap |
---|
37 | post-destroot { |
---|
38 | delete ${destroot}${python.pkgd}/mpl_toolkits/__init__.py |
---|
39 | delete ${destroot}${python.pkgd}/mpl_toolkits/__init__.pyc |
---|
40 | } |
---|
41 | } |
---|
42 | |
---|
43 | if {${name} eq ${subport}} { |
---|
44 | livecheck.type regex |
---|
45 | livecheck.url http://sourceforge.net/projects/matplotlib/files/matplotlib-toolkits |
---|
46 | livecheck.regex {basemap-(\d+(\.\d+)*)} |
---|
47 | } else { |
---|
48 | livecheck.type none |
---|
49 | } |
---|