# -*- 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-Validator-Schema 1.10
revision            1
maintainers         nomaintainer
categories-append   textproc
license             {Artistic-1 GPL}
description         validate XML against a subset of W3C XML Schema
long_description    This module allows you to validate XML documents against a \
                    W3C XML Schema. This module does not implement the full W3C \
                    XML Schema recommendation, but a useful subset.

checksums           rmd160  78d40b544152fbfc185b5caa6bae7b2d8bdd2c27 \
                    sha256  6142679580150a891f7d32232b5e31e2b4e5e53e8a6fa9cbeecb5c23814f1422

platforms           {darwin any}

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-xml-sax-expat \
                    port:p${perl5.major}-xml-sax-writer


    depends_lib-append \
                    port:p${perl5.major}-tree-dag_node \
                    port:p${perl5.major}-xml-filter-buffertext \
                    port:p${perl5.major}-xml-sax

    supported_archs noarch
}