# -*- 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 128808 2014-11-27 17:05:13Z jmr@macports.org $

PortSystem          1.0
PortGroup           perl5 1.0

perl5.branches      5.10 5.12 5.14 5.16
perl5.setup         HTML-Encoding 0.61
revision            2
platforms           darwin
maintainers         nomaintainer
license             {Artistic-1 GPL}
supported_archs     noarch

description         Determine the encoding of HTML/XML/XHTML documents

long_description    ${description}

checksums           sha1    539c09038c812ae8b2215ab3824b69e50e20b33c \
                    rmd160  568d0d6b46778644802b9e4f5ac4642a4ad1c419

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
}
