# -*- 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 revision 0 categories-append net platforms darwin license LGPL-2.1+ supported_archs noarch python.versions 24 25 26 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 c98e2215b168b8bec5fff8a07dee7536ab51f951 \ sha256 151474dcba8ad99a98eb1f18873bd888e8bfd68fd71a280991899e932689dc89 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]} }