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

github.setup        swanandx lemmeknow 0.8.0 v
github.tarball_from archive
revision            0

description         The fastest way to identify anything

long_description    \
    ${name} can be used for identifying mysterious text or to analyze \
    hard-coded strings from captured network packets, malwares, or just about \
    anything.

categories          textproc security
installs_libs       no
license             MIT
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

checksums           ${distname}${extract.suffix} \
                    rmd160  2ec74e3782ff9dd6b817582aa189a4f1c19f643a \
                    sha256  46f42e80cf2c142641fc52826bcf73e00e26dbb93f20397a282e04b786a7cfe8 \
                    size    133503

build.pre_args-delete \
                    --locked --frozen

destroot {
    xinstall -m 0755 \
        ${worksrcpath}/target/[cargo.rust_platform]/release/${name} \
        ${destroot}${prefix}/bin/
}
