Package: linkchecker Version: 5.2 Revision: 2 Description: Check websites and HTML docs for broken links License: GPL Maintainer: None # Dependencies: Depends: python26, python-dns-py26 # Unpack Phase: Source: mirror:sourceforge:%n/%v/LinkChecker-%v.tar.gz Source-MD5: 671e80434e24aaead5352ed62cb45142 # Patch Phase: PatchScript: << ### why are only these moved to %p/bin/python2.6 and not the other scripts that also reference /usr/bin/python? perl -pi.bak -e 's;#!/usr/bin/python;#!%p/bin/python2.6;' cgi-bin/*.cgi perl -pi.bak -e 's;#!/usr/bin/python;#!%p/bin/python2.6;' cgi-bin/*.fcgi ### do not install these QHelpCollectionProject files or depend on qt4-* to compile them perl -pi -e "s|linkcheckerrc\', \'config/logging.conf\',|linkcheckerrc\', \'config/logging.conf\'\]\),|g" setup.py perl -pi -e "s| 'doc/html/lccollection.qhc', 'doc/html/lcdoc.qch'\]\),\n||g" setup.py << # Compile Phase: CompileScript: %p/bin/python2.6 setup.py build # Install Phase: InstallScript: << %p/bin/python2.6 setup.py install --root=%d ### Install docu and notes /usr/bin/install -d %i/share /usr/bin/install -d %i/share/doc /usr/bin/install -d %i/share/doc/%n cp -r doc/* %i/share/doc/%n << DocFiles: COPYING doc/changelog.txt doc/install.txt readme.txt doc/todo.txt doc/upgrading.txt ConfFiles: %p/share/%n/linkcheckerrc %p/share/%n/logging.conf # Additional Info DescDetail: << Linkchecker features: * recursive checking * multithreaded * output in colored or normal text, HTML, SQL, CSV, XML or a sitemap graph in different formats * HTTP/1.1, HTTPS, FTP, mailto:, news:, nntp:, Gopher, Telnet and local file links support * restriction of link checking with regular expression filters for URLs * proxy support * username/password authorization for HTTP and FTP * robots.txt exclusion protocol support * i18n support * a command line interface * a (Fast)CGI web interface (requires HTTP server) << DescPackaging: << The path to python is adjusted to fink in the example pages. Previous versions by Ben Hines , Christian Schaffner . << Homepage: http://linkchecker.sourceforge.net/