# -*- 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         Image-PNG-Libpng 0.60 ../../authors/id/B/BK/BKB
revision            0
license             {Artistic-1 GPL}
maintainers         nomaintainer
description         Image::PNG::Libpng - Perl interface to the C library \"libpng\"
long_description    {*}${description}

checksums           rmd160  37786a144dcd00197f48f7089ad1c33c0bcb043a \
                    sha256  44025e774afd0567bf35c5a203bc6fb410334fd7ace2a49dba328f11ecc02ffb \
                    size    1097176

if {${perl5.major} != ""} {
    depends_build-append \
                    port:pkgconfig

    depends_lib-append \
                    port:libpng \
                    port:zlib

    patchfiles      use-the-right-compiler.patch

# enable debug output during configure
    configure.post_args-append --check
}
