# $Id: Portfile 89810 2012-02-11 08:55:39Z and.damore@macports.org $

PortSystem          1.0
PortGroup           perl5 1.0

perl5.setup         XML-SAX-Base 1.08
maintainers         nomaintainer
license             {Artistic-1 GPL}
description         Base class SAX Drivers and Filters
long_description    ${description}

platforms           darwin

checksums           rmd160  1ffa1558e1062aa47a229a2b5c5510ba708eea09 \
                    sha256  666270318b15f88b8427e585198abbc19bc2e6ccb36dc4c0a4f2d9807330219e

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