# -*- 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         Compress-Raw-Zlib 2.213 ../../authors/id/P/PM/PMQS
revision            0
license             {Artistic-1 GPL}
maintainers         nomaintainer
description         The Compress::Raw::Zlib module provides a Perl \
                    interface to the zlib compression library
long_description    {*}${description}

checksums           rmd160  41049ffb05b69de3e7ffd6b8ae86cd7673b969be \
                    sha256  56b21c99cb3a3a7f7876a74dd05daa3f41fc9143ddd4dc98f8e46710a106af45 \
                    size    551722

if {${perl5.major} ne ""} {
    depends_build-append \
                    port:p${perl5.major}-test-cpan-meta \
                    port:p${perl5.major}-test-cpan-meta-json \
                    port:p${perl5.major}-test-pod

    # run all tests
    test.env-append COMPRESS_ZLIB_RUN_ALL=1

    perl5.link_binaries no
}

# builds using embedded zlib source version 1.3.1, no external dependency required