# -*- 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         Imager-File-HEIF 0.007 ../../authors/id/T/TO/TONYC
revision            0
license             {Artistic-1 GPL}
maintainers         {devans @dbevans} openmaintainer
description         Imager::File::HEIF - read and write HEIF files
long_description    {*}${description}

checksums           rmd160  5a44dbcd95ffb52aaae78e53983985cd00446560 \
                    sha256  b0ecf03bf60c535d91e79cc19adb64c46bbdfbb4520b51b1e828b053e112f7d0 \
                    size    36566

if {${perl5.major} != ""} {
    depends_build-append \
                    path:bin/pkg-config:pkgconfig

    depends_lib-append \
                    port:libheif \
                    port:p${perl5.major}-imager
}
