# -*- 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: Portfile 122191 2014-07-17 13:02:10Z khindenburg@macports.org $ PortSystem 1.0 PortGroup python 1.0 PortGroup app 1.0 name linkchecker version 9.3 categories www python maintainers khindenburg openmaintainer platforms darwin freebsd license GPL-2+ description linkchecker for html pages long_description linkchecker for html pages with recursive checking, \ multithreaded, output can be colored or normal text, HTML, \ SQL, CSV or a sitemap graph in XML or GML format, additionally \ reports download time for HTML pages HTTP/1.1 and 1.0, HTTPS, \ FTP, mailto:, news:, nntp:, gopher, telnet and local file \ links are supported, restrict link checking with regular \ expression filters for URLs, proxy support, give \ username/password for HTTP and FTP authorization, robots.txt \ exclusion protocol support, i18n support, CGI web interface. homepage http://wummel.github.io/linkchecker/ # This appears to be the only location of tarball master_sites https://pypi.python.org/packages/source/L/LinkChecker distname LinkChecker-${version} checksums rmd160 0d757f00fb8c124ec6ff14a9f1205655165e18d6 \ sha256 ee0aa60de440fdcf8587ddebf1f691bc777a32d8d4f119beed63f405dc56176d python.default_version 27 depends_build-append port:py27-py2app \ port:py27-backports \ port:py27-backports-ssl_match_hostname \ port:py27-nose \ port:py27-pyobjc-cocoa \ port:py27-matplotlib # Can use either py*-pyqt4 or py*-pyqt4-devel depends_lib-append path:share/py27-sip/PyQt4:py27-pyqt4 depends_lib-append port:py27-requests pre-build { system "cd ${worksrcpath} && make -C doc/html" } app.name LinkChecker app.executable ${python.prefix}/bin/linkchecker-gui app.icon doc/html/logo128x128.png python.link_binaries_suffix livecheck.type regex livecheck.url ${master_sites} livecheck.regex LinkChecker-(\\d+(?:\\.\\d+)*)${extract.suffix}