# -*- 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         GD 2.84 ../../authors/id/R/RU/RURBAN
revision            0
license             {Artistic-2 GPL}
maintainers         nomaintainer
description         GD.pm - Interface to Gd Graphics Library
long_description    {*}${description}

checksums           rmd160  020b4aff4e382e82e74d299330b3aacccd3f3d2b \
                    sha256  3cfe4db20c218eb8e3d670f2e5b7571f1cc8a2d0fd55611bb3cfad3a3335564f \
                    size    1256663

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-extutils-pkgconfig \
                    port:p${perl5.major}-file-which \
                    port:p${perl5.major}-test-fork \
                    port:p${perl5.major}-test-nowarnings

    depends_lib-append \
                    port:p${perl5.major}-math-complex \
                    port:fontconfig \
                    port:freetype \
                    port:gd2 \
                    path:include/turbojpeg.h:libjpeg-turbo \
                    port:libiconv \
                    port:libheif \
                    port:libpng \
                    port:tiff \
                    port:webp
}
