# -*- 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-urlwatch version 1.14 categories python python.versions 26 27 31 python.default_version 26 platforms darwin maintainers phw openmaintainer description a tool for monitoring webpages for updates long_description urlwatch helps you watch URLs and get notified (via email or \ in your terminal) of any changes. The change notification will include the URL \ that has changed and a unified diff of what has changed, and can also filter \ content via hooks, remove noise (always-changing website parts), etc. homepage http://thpinfo.com/2008/urlwatch/ master_sites ${homepage} distname urlwatch-${version} checksums md5 6bff9dab50fe4c45521d0b8e36d604a5 \ sha1 17c84d0d215e9d6cd1d5b165b7a8fdac1a0f246c \ rmd160 115981f9a422d4ade94c6c2713400b3678cb75a5 livecheck.type regex livecheck.url ${homepage} livecheck.regex "Current version: (\\d+(?:\\.\\d+)*)" if {$subport != $name} { depends_build-append port:py${python.version}-distribute depends_lib-append port:py${python.version}-futures pre-configure { if {${python.version}==32 || ${python.version}==31} { system "cd ${worksrcpath} && ${worksrcpath}/convert-to-python3.sh" } } }