Created attachment 217931 [details]
Disclaimer: Only interested in exposing AVIF. I don't use this port and didn't test runtime.
See URL field for upstream changes. Builds fine on 11.3 amd64/i386, 12.1 aarch64/amd64/armv7/armv6/i386, 13.0 amd64/i386. Default consumers also build fine.
Build info is available at https://gitlab.com/swills/freebsd-ports/pipelines/189356581
As there a reason why we can't use upstream release archive/tarball? (also suggested by 5.4.3 in Porter's Handbook)
https://github.com/strukturag/libheif/releases --> https://github.com/strukturag/libheif/releases/download/v1.8.0/libheif-1.8.0.tar.gz
I'm keeping statu quo to avoid investing more time due to scope creep.
Reporter is committer, assigning to him.