# -*- 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 36361 2008-04-28 08:36:41Z akira@macports.org $ PortSystem 1.0 PortGroup python25 1.0 name py25-mechanize version 0.1.7b categories python www platforms darwin maintainers openmaintainer akira description Stateful programmatic web browsing long_description Stateful programmatic web browsing, after Andy \ Lester's Perl module WWW::Mechanize. homepage http://wwwsearch.sourceforge.net/mechanize master_sites ${homepage}/src distname mechanize-${version} checksums md5 7d431ccec4e64063c7378ce3be53ea34 depends_lib-append port:py25-clientform test.run yes test.cmd ${python.bin} test.target test.py post-destroot { foreach f [glob -directory ${worksrcpath}/ *.txt *.html] { copy $f ${destroot}${prefix}/share/doc/${name}/[file tail $f] } foreach f [glob -directory ${worksrcpath}/examples *] { copy $f ${destroot}${prefix}/share/doc/${name}/examples/[file tail $f] } }