# -*- 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 libcpath 20260520
revision            0
categories-append   security devel
license             LGPL-3+
maintainers         nomaintainer
description         Library for cross-platform C path functions
long_description    ${description}
distname            ${name}-alpha-${version}
checksums           rmd160  d73c7c77e97e986439f3f7d0b1e18982badfce07 \
                    sha256  aeac970b7815201115a16aefdfb4b649c9f55b384037197ccabd4d74a765bb2c \
                    size    1039585
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:libclocale \
                    port:libcsplit \
                    port:libiconv \
                    port:libuna

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