# -*- 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.59
revision            0
license             {Artistic-1 GPL}
maintainers         nomaintainer
description         Image::PNG::Libpng is a Perl library for accessing the contents of \
                    PNG (Portable Network Graphics) images.
long_description    ${description}

checksums           rmd160  9ecf1c2953cd0da7130c6739147d4d65ade95943 \
                    sha256  e1f9f5f58a8ce98870529f5680841fb33e304272f39faaed5c2f7929ce6f58d7 \
                    size    1097877

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
}
