# -*- 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.26
perl5.setup         HTML-Encoding 0.61
revision            2
maintainers         nomaintainer
license             {Artistic-1 GPL}

description         Determine the encoding of HTML/XML/XHTML documents
long_description    ${description}

checksums           rmd160  568d0d6b46778644802b9e4f5ac4642a4ad1c419 \
                    sha256  008981f868a151be41cdfded28daa37f7029b51e57c75c976b24ead91f401a68

platforms           darwin
supported_archs     noarch

if {${perl5.major} != ""} {
    patchfiles      patch-lib-HTML-Encoding.pm.diff

    depends_lib-append \
                    port:p${perl5.major}-encode \
                    port:p${perl5.major}-html-parser \
                    port:p${perl5.major}-libwww-perl
}