# -*- 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 PortSystem 1.0 PortGroup python 1.0 PortGroup cxx11 1.1 set _name GDAL set _n [string index ${_name} 0] name py-gdal version 2.3.2 categories-append gis platforms darwin license MIT maintainers {petr @petrrr} openmaintainer description GDAL: Geospatial Data Abstraction Library long_description \ This Python package and extensions are a number of tools for programming \ and manipulating the GDAL Geospatial Data Abstraction Library. homepage http://www.gdal.org master_sites pypi:${_n}/${_name}/ distname ${_name}-${version} checksums rmd160 5444e9a39995d11d20ebbfeeb31058cdb2bde154 \ sha256 cffd44249335159402a3d3d39c74c3035b5da091d9097ee93cd99c7a03681b78 \ size 556883 python.versions 27 34 35 36 37 if {${name} ne ${subport}} { depends_lib-append port:gdal \ port:py${python.version}-numpy patch { reinplace "s|../../apps/|${prefix}/bin/|" ${worksrcpath}/setup.cfg } post-destroot { set dest_doc ${destroot}${prefix}/share/doc/${subport} xinstall -m 755 -d ${dest_doc} xinstall ${worksrcpath}/README.txt ${dest_doc} } livecheck.type none } else { livecheck.type regex livecheck.url https://pypi.python.org/pypi/${_name}/json livecheck.regex "\"${_name}-(\[.\\d\]+)\\.tar\\.gz\"" }