# -*- 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 119880 2014-05-08 22:01:47Z mf2k@macports.org $

PortSystem          1.0
PortGroup           perl5 1.0

perl5.branches      5.8 5.10 5.12 5.14 5.16
perl5.setup         WWW-Mechanize 1.73
platforms           darwin
license             {Artistic-1 GPL}
maintainers         nomaintainer
supported_archs     noarch

description         Handy web browsing in a Perl object
long_description    WWW::Mechanize, or Mech for short, helps you automate \
                    interaction with a website. It supports performing a \
                    sequence of page fetches including following links and \
                    submitting forms. Each fetched page is parsed and its \
                    links and forms are extracted. A link or a form can be \
                    selected, form fields can be filled and the next page \
                    can be fetched. Mech also stores a history of the URLs \
                    you have visited, which can be queried and revisited.


checksums           rmd160  8c5d26530a2256a1c8de29b90ec520112eb4cc5d \
                    sha256  e9d56c921ce8f09a9087031249945f27383e29cee28b1e0a46c473d894423cff

if {${perl5.major} != ""} {
    depends_lib-append  port:p${perl5.major}-html-parser \
                        port:p${perl5.major}-html-tree \
                        port:p${perl5.major}-http-server-simple \
                        port:p${perl5.major}-libwww-perl \
                        port:p${perl5.major}-test-warn \
                        port:p${perl5.major}-uri
}
