# -*- 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         XML-Twig 3.55 ../../authors/id/M/MI/MIROD
revision            0
maintainers         nomaintainer
license             {Artistic-1 GPL}
description         XML::Twig - A perl module for processing huge XML documents in tree mode.
long_description    {*}${description}

platforms           {darwin any}
supported_archs     noarch

checksums           rmd160  5c714f7743201ea405e014ca1159b9c6370fe49f \
                    sha256  69326e5edc05c759ccc78fbe05ca63759a035fe7a5337b8ddba6c3dd42f64f6c \
                    size    286349

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-io-captureoutput \
                    port:p${perl5.major}-io-stringy \
                    port:p${perl5.major}-xml-filter-buffertext \
                    port:p${perl5.major}-xml-sax-writer \
                    port:p${perl5.major}-xml-simple

    depends_lib-append \
                    port:expat \
                    port:p${perl5.major}-html-entities-numbered \
                    port:p${perl5.major}-html-parser \
                    port:p${perl5.major}-html-tidy \
                    port:p${perl5.major}-html-tree \
                    port:p${perl5.major}-libwww-perl \
                    port:p${perl5.major}-text-tabsxwrap \
                    port:p${perl5.major}-tie-ixhash \
                    port:p${perl5.major}-xml-parser \
                    port:p${perl5.major}-xml-xpath \
                    port:p${perl5.major}-xml-xpathengine
}
