# $Id: Portfile 92433 2012-04-28 15:42:33Z mww@macports.org $

PortSystem 1.0
PortGroup python27 1.0
PortGroup app 1.0

name                linkchecker
version             7.7
set branch          [join [lrange [split ${version} .] 0 1] .]
categories          www python
maintainers         mww
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://linkchecker.sourceforge.net/
master_sites        sourceforge:project/linkchecker/${branch}/
dist_subdir         ${name}
distname            LinkChecker-${version}
use_bzip2           yes

checksums           rmd160  b5f6960a5fd201cfd19abe9c27fc4d41db103c47 \
                    sha256  4e220b91c873f6e8be030420d140a3a5cde29863fe75a9d926f1e70981edf6af

depends_lib-append  port:py27-pyqt4

pre-build {
    system "cd ${worksrcpath} && make -C doc/html"
}

app.name            LinkChecker
app.executable      linkchecker-gui
app.icon            doc/html/logo128x128.png

python.link_binaries_suffix

livecheck.type      freecode
