# -*- 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$ PortSystem 1.0 PortGroup python24 1.0 name py-mechanize version 0.1.9 categories python www platforms darwin maintainers openmaintainer akitada 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 6754f9959a2d00ec028bf84db9300e87 \ sha1 6d34e0ee75d86fc95e87342721d6ad7f00bdbaba \ rmd160 009298883f7f68f96bf4fc7a9cdd20e6c936f6a8 depends_lib-append port:py-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] } }