source: trunk/dports/www/linkchecker/Portfile

Last change on this file was 151685, checked in by khindenburg@…, 4 months ago

linkchecker: add patch to fix error #52052

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.4 KB
Line 
1# -*- 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
2# $Id: Portfile 151685 2016-08-20 02:31:58Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup python    1.0
6PortGroup app       1.0
7
8name                linkchecker
9version             9.3
10revision            1
11categories          www python
12maintainers         khindenburg openmaintainer
13platforms           darwin freebsd
14license             GPL-2+
15
16description         linkchecker for html pages
17long_description    linkchecker for html pages with recursive checking, \
18                    multithreaded, output can be colored or normal text, HTML, \
19                    SQL, CSV or a sitemap graph in XML or GML format, additionally \
20                    reports download time for HTML pages HTTP/1.1 and 1.0, HTTPS, \
21                    FTP, mailto:, news:, nntp:, gopher, telnet and local file \
22                    links are supported, restrict link checking with regular \
23                    expression filters for URLs, proxy support, give \
24                    username/password for HTTP and FTP authorization, robots.txt \
25                    exclusion protocol support, i18n support, CGI web interface.
26
27homepage            http://wummel.github.io/linkchecker/
28
29# This appears to be the only location of tarball
30master_sites        https://pypi.python.org/packages/source/L/LinkChecker
31distname            LinkChecker-${version}
32
33checksums           rmd160  0d757f00fb8c124ec6ff14a9f1205655165e18d6 \
34                    sha256  ee0aa60de440fdcf8587ddebf1f691bc777a32d8d4f119beed63f405dc56176d
35
36python.default_version  27
37
38depends_build-append    port:py27-py2app \
39                        port:py27-backports \
40                        port:py27-backports-ssl_match_hostname \
41                        port:py27-nose \
42                        port:py27-pyobjc-cocoa \
43                        port:py27-matplotlib
44
45# Can use either py*-pyqt4 or py*-pyqt4-devel
46depends_lib-append  path:share/py27-sip/PyQt4:py27-pyqt4
47depends_lib-append  port:py27-requests
48
49patchfiles          patch-version.diff
50
51pre-build {
52    system "cd ${worksrcpath} && make -C doc/html"
53}
54
55app.name            LinkChecker
56app.executable      ${python.prefix}/bin/linkchecker-gui
57app.icon            doc/html/logo128x128.png
58
59livecheck.type      regex
60livecheck.url       ${homepage}
61livecheck.regex     LinkChecker-(\\d+(?:\\.\\d+)*)${extract.suffix}
62
Note: See TracBrowser for help on using the repository browser.