# -*- 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 libcdata 20260520
revision            0
categories-append   security devel
maintainers         nomaintainer
license             LGPL-3+
description         Library for cross-platform C generic data functions
long_description    ${description}
distname            ${name}-alpha-${version}
checksums           rmd160  c6776d5fb06c6925c819c6870617f4620dffef52 \
                    sha256  375b4c0559344cae6ce073e82bfb850259be7ea7bb8c6245841018db9a66d441 \
                    size    647730
github.tarball_from releases

worksrcdir          ${name}-${version}

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

depends_lib-append  port:gettext-runtime \
                    port:libcerror \
                    port:libcthreads \
                    port:libiconv

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