# -*- 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
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 pypi:m/mechanize \
distname mechanize-${version}
checksums md5 32657f139fc2fb75bcf193b63b8c60b2 \
sha1 9d2fb74fc762e54848c0b3ed4b6a9c73722ef619 \
rmd160 f9deafaeb591cd4047a6f8845221463320c86d9b
if {${name} ne ${subport}} {
depends_build port:py${python.version}-setuptools
foreach f [glob -directory ${worksrcpath}/ *.txt *.html] {
copy $f ${destroot}${prefix}/share/doc/${subport}/[file tail $f]
foreach f [glob -directory ${worksrcpath}/examples *] {
copy $f ${destroot}${prefix}/share/doc/${subport}/examples/[file tail $f]
livecheck.regex mechanize-(\[0-9.\]+)${extract.suffix}
livecheck.url ${homepage}/src