# -*- 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
PortGroup           makefile 1.0

github.setup        Nickgonzales76017 bonfyre-statement-import 1.0.1 v
github.tarball_from archive
revision            0

categories          finance textproc
license             MIT
maintainers         {github:Nickgonzales76017 @Nickgonzales76017} \
                    openmaintainer

description         Convert normalized bank statement text to verified CSV

long_description    \
    ${name} is an offline native-C tool that converts normalized bank \
    statement text to CSV using declarative layout packs. It verifies \
    running balances and closing totals before emitting a machine-readable \
    receipt.

checksums           rmd160  8c0e76f1e75bc4d01735a550ce92dd83cf4597f0 \
                    sha256  ca9ea9aaa58cbb13481c7ecae7fd4b62e4968659c22fce187266eebcdb7db178 \
                    size    7827

test.run            yes
test.cmd            make
test.target         test

destroot {
    xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin
    xinstall -d ${destroot}${prefix}/share/${name}/packs
    xinstall -m 0644 ${worksrcpath}/packs/demo-bank.pack \
                    ${destroot}${prefix}/share/${name}/packs
}
