# -*- 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         Log-Log4perl 1.57
revision            0
maintainers         {di.uminho.pt:jpo @jpoliv} openmaintainer
license             {Artistic-1 GPL}

description         Log4j implementation for Perl

long_description    Log::Log4perl lets you remote-control and fine-tune the \
                    logging behaviour of your system from the outside. \
                    It implements the widely popular (Java-based) Log4j \
                    logging package in pure Perl.

platforms           {darwin any}
supported_archs     noarch

checksums           rmd160  15064c739ff5c9636412cb619962d37fea51c8f3 \
                    sha256  0f8fcb7638a8f3db4c797df94fdbc56013749142f2f94cbc95b43c9fca096a13 \
                    size    280072

if {${perl5.major} != ""} {
    depends_lib-append \
                    port:p${perl5.major}-dbd-csv \
                    port:p${perl5.major}-dbd-sqlite \
                    port:p${perl5.major}-dbi \
                    port:p${perl5.major}-log-dispatch \
                    port:p${perl5.major}-log-dispatch-filerotate \
                    port:p${perl5.major}-sql-statement \
                    port:p${perl5.major}-xml-dom
}
