# -*- 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

PortSystem          1.0
PortGroup           perl5 1.0

perl5.branches      5.28 5.30 5.32 5.34
perl5.setup         Test-WWW-Selenium 1.36
revision            1
license             {Artistic-1 GPL}
maintainers         gmail.com:jon.hermansen openmaintainer

description         Test applications using Selenium Remote Control

long_description    This module sends commands directly to a Selenium \
                    Server using simple HTTP GET/POST requests. Using this \
                    module together with a Selenium Server instance, you \
                    can automatically control any supported browser.

checksums           rmd160  debdaff541c13aa8936069ad37c17511206474cf \
                    sha256  ea93d97f6c0be0232f8b07ac0584dc3cd13e7a191dd03cca639ade02f44b3b69

platforms           {darwin any}
supported_archs     noarch

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-test-exception \
                    port:p${perl5.major}-test-mock-lwp

# use Time::HiRes 1.9739+ for Sierra compatibility
    depends_lib-append \
                    port:p${perl5.major}-libwww-perl \
                    port:p${perl5.major}-namespace-clean \
                    port:p${perl5.major}-time-hires \
                    port:p${perl5.major}-uri
}
