# -*- 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        Wilfred difftastic 0.53.1
github.tarball_from archive
revision            0

description         An experimental diff tool that compares files based on \
                    their syntax

long_description    {*}${description}
    
categories          devel textproc
installs_libs       no
license             MIT
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

checksums           rmd160  e1542d29c2d532b1748695e47b42400a5cbadf3f \
                    sha256  a8f8c02aea06b7ac14ed08ed88867abb6e35cd3c5088069953d3d50ccb41ffb8 \
                    size    57615806 \

build.pre_args-delete \
                    --frozen --offline

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