# -*- 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 87079 2011-11-09 22:47:13Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           perl5 1.0

perl5.setup         XML-TreeBuilder 4.1
platforms           darwin
maintainers         nomaintainer
supported_archs     noarch

description         Parser that builds a tree of XML::Element objects

long_description    This module uses XML::Parser to make XML document trees \
                    constructed of XML::Element objects (and XML::Element is a \
                    subclass of HTML::Element adapted for XML). XML::TreeBuilder is \
                    meant particularly for people who are used to the HTML::TreeBuilder \
                    / HTML::Element interface to document trees, and who don't want to \
                    learn some other document interface like XML::Twig or XML::DOM.

checksums           rmd160  e142bfcb21af83d9ffa529e9a201f0f8a7e45f79 \
                    sha256  46a0bae97e9347fa815a2e30ab5f41f28e4eedd4ed4bca2c8e6350dccf2a5178

if {${perl5.major} != ""} {
depends_lib-append  port:p${perl5.major}-html-tagset \
                    port:p${perl5.major}-html-tree \
                    port:p${perl5.major}-xml-parser
}
