# $Id$ PortSystem 1.0 PortGroup python 1.0 name py-matplotlib-basemap version 1.0.2 categories python graphics math platforms darwin maintainers ram openmaintainer description matplotlib toolkit for plotting data on map projections long_description Matplotlib basemap is a matplotlib toolkit python library \ for plotting data on map projections homepage http://matplotlib.sourceforge.net master_sites sourceforge:project/matplotlib/matplotlib-toolkits/basemap-${version}/ distname basemap-${version} checksums md5 0f789ed5d7bf01e54dcd0731e6459fe6 \ sha1 0f8ffcc51ab4d5a0ea6b8ab94d19a0532204bfa4 \ rmd160 f8c7ed1d074b55aef6b293a7c705a4513c1bc678 python.versions 24 25 26 27 depends_lib-append port:geos if {${subport} == "py24-matplotlib-basemap"} { depends_lib-append port:py-matplotlib \ port:py-httplib2 \ port:py-dap } elseif {${subport} != ${name}} { depends_lib-append port:py${python.version}-matplotlib \ port:py${python.version}-httplib2 \ port:py${python.version}-dap } build.env-append GEOS_DIR="${prefix}" destroot.env-append GEOS_DIR="${prefix}" universal_variant no if {${name} != ${subport}} { post-destroot { delete ${destroot}${python.pkgd}/mpl_toolkits/__init__.py delete ${destroot}${python.pkgd}/mpl_toolkits/__init__.pyc } } if {${name} == ${subport}} { livecheck.type regex livecheck.url http://sourceforge.net/projects/matplotlib/files/matplotlib-toolkits livecheck.regex {basemap-(\d+(\.\d+)*)} } else { livecheck.type none }