# -*- 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.54
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  01445f1a31b048db3598fd7e3e9b5512345bbfb0 \
                    sha256  0b744a9737a070f95c32154afd526bf5ebe76a59feb8bc1f5dbc6cdaa5e0e529 \
                    size    286962

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: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
}
