# -*- 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           qmake5 1.0

github.setup        MicroKoder QIEC104 1.1 v
github.tarball_from archive
name                qiec104
revision            0

categories          net
license             MIT
maintainers         {@sikmir disroot.org:sikmir} openmaintainer

description         Small IEC104 client
long_description    {*}${description}

checksums           rmd160  aa41427ce08e79a667880a035f80a721ce0f39f8 \
                    sha256  6cf5be6c55f7355c0eaee592cebc164c4f7e19772e07d7d495560ffc799d0583 \
                    size    86947

# https://github.com/MicroKoder/QIEC104/commit/804916a811e561e4a73b14d475a76c84bfb5b58d
patchfiles          patch-fix-build.diff
patch.pre_args      -p1

destroot {
    copy ${worksrcpath}/Q104.app ${destroot}${applications_dir}
}
