# -*- 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.214 ../../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  361980bbedbc64e038108204420efd07aae2bdd3 \
                    sha256  5eea0c05c7b01dc93b620f04c89176eefb5002586ca0bebae3b8c2e70920e62e \
                    size    552629

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
