# -*- 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.2
revision            0
checksums           rmd160  2c3d835658590cdf3784b79479ffd9e2f17a7c91 \
                    sha256  41eefd44bb405ef89806983bea5d7bd02aba9f4619d23f2085aab056e048fcfc \
                    size    287826

categories          devel
maintainers         openmaintainer {krischik @krischik}
license             GPL-3
description         Utility for the MiniPRO TL866CS and TL866A 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}
