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

gitlab.setup        DavidGriffith minipro 0.7.4
revision            0
checksums           rmd160  6a84e261bbd7ed4cf13e1290310a1be8bcbbd4d3 \
                    sha256  cac2f3239f50aea70a54fb4f8a5de3c87caba7f377c3cd51a417c1bc7a042921 \
                    size    346583

categories          devel
maintainers         openmaintainer {krischik @krischik}
license             GPL-3
description         Utility for the MiniPRO TL866CS, TL866A and T56 universal programmers
long_description    Opensource tool that aims to create a complete cross-platform \
                    replacement for the proprietary utility from autoelectric.cn. \
                    Currently it supports more than 13000 of target devices including \
                    AVRs, PICs as well as a huge number of other microcontrollers and \
                    various BIOSes.

depends_build       port:pkgconfig

depends_lib         path:lib/pkgconfig/libusb-1.0.pc:libusb

depends_run         port:srecord

use_configure       no

variant universal   {}

build.args-append   PREFIX=${prefix} CC="${configure.cc} [get_canonical_archflags cc]"

destroot.args       PREFIX=${prefix}
