# -*- 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 name py-urlgrabber version 3.10.1 revision 0 categories-append net platforms darwin license LGPL-2.1+ supported_archs noarch python.versions 27 maintainers afb stromnov openmaintainer description High-level cross-protocol url-grabber long_description Urlgrabber is a high-level cross-protocol url-grabber for python \ supporting HTTP, FTP and file locations. Features include keepalive, \ byte ranges, throttling, authentication, proxies and more. homepage http://urlgrabber.baseurl.org/ master_sites http://urlgrabber.baseurl.org/download/ distname urlgrabber-${version} checksums rmd160 f1a667bb2e1f79545641c9500587626412c9e43e \ sha256 06b13ff8d527dba3aee04069681b2c09c03117592d5485a80ae4b807cdf33476 if {${name} ne ${subport}} { depends_lib-append port:py${python.version}-curl post-patch { reinplace "s|/usr/bin/python|${python.bin}|g" \ ${worksrcpath}/scripts/urlgrabber } livecheck.type none } else { livecheck.type regex livecheck.url ${master_sites} livecheck.regex {urlgrabber-(\d+(?:\.\d+)*)\.[tz]} }