# -*- 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 set _name GDAL set _n [string index ${_name} 0] name py-gdal version 1.11.1 categories-append gis platforms darwin license MIT maintainers nomaintainer 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 https://pypi.python.org/packages/source/${_n}/${_name}/ distname ${_name}-${version} checksums md5 1a6b51c8e2dd5990007a33e081b8a057 \ sha1 50c34b3484a7a0ae3fdf7289deecd6472685937b \ rmd160 720064d6a747818b0f2161a5855c6e07b2cb7b3c python.versions 26 27 34 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} copy ${worksrcpath}/samples ${dest_doc}/examples copy ${worksrcpath}/scripts ${dest_doc}/examples } livecheck.type none } else { livecheck.type regex livecheck.url [lindex ${master_sites} 0] livecheck.regex ">${_name}-(\\d+(\\.\\d+)+)\\${extract.suffix}<" }