# -*- 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 82547 2011-08-15 16:46:16Z jmr@macports.org $

PortSystem          1.0
PortGroup           perl5 1.0

perl5.setup         HTML-Encoding 0.61
revision            1
platforms           darwin
maintainers         l2g openmaintainer
license             Artistic 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
}
