PortSystem          1.0
PortGroup           perl5 1.0

perl5.branches      5.24 5.26
perl5.setup         XML-SAX-Base 1.09
maintainers         {khindenburg @kurthindenburg} openmaintainer
license             {Artistic-1 GPL}
description         Base class SAX Drivers and Filters
long_description    ${description}

platforms           darwin

checksums           rmd160  db0deffe2536d7e96b00010a8bb87f2d56eac36b \
                    sha256  66cb355ba4ef47c10ca738bd35999723644386ac853abbeb5132841f5e8a2ad0

if {${perl5.major} != ""} {
    pre-activate {
        # XML::SAX::Exception moved to this port from p5-xml-sax
        if {![catch {set vers [lindex [registry_active p${perl5.major}-xml-sax] 0]}]
            && [vercmp [lindex $vers 1] 0.990] < 0} {
            registry_deactivate_composite p${perl5.major}-xml-sax "" [list ports_nodepcheck 1]
        }
    }
}
                    
