# -*- 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           github 1.0

github.setup        libyal libfvalue 20260522
revision            0
categories          devel
license             LGPL-3+
maintainers         nomaintainer
description         Library for generic file value functions
long_description    ${description}
distname            ${name}-experimental-${version}
checksums           rmd160  4a78c8e5d91307cba0b978dc07add4c0db7e425a \
                    sha256  6bc4679d2cf568a9c931097b5043e3ca9274ed5181071613ecf2b08d8a7de1d2 \
                    size    1286917
github.tarball_from releases

worksrcdir          ${name}-${version}

depends_build-append \
                    port:gettext \
                    path:bin/pkg-config:pkgconfig

depends_lib-append  port:gettext-runtime \
                    port:libcdata \
                    port:libcerror \
                    port:libcnotify \
                    port:libcthreads \
                    port:libfguid \
                    port:libfdatetime \
                    port:libfwnt \
                    port:libiconv \
                    port:libuna

configure.args-append \
                    --with-libiconv-prefix=${prefix} \
                    --with-libintl-prefix=${prefix}
