# -*- 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           cmake 1.1

github.setup        avrdudes avrdude 8.1 v

categories          cross devel
license             GPL-2+
maintainers         nomaintainer

description         AVR Downloader Uploader
long_description    AVRDUDE - AVR Downloader Uploader - is a program for downloading and uploading \
                    the on-chip memories of Microchip’s AVR microcontrollers. It can program the Flash \
                    and EEPROM, and where supported by the programming protocol, it can program fuse \
                    and lock bits. AVRDUDE also supplies a direct instruction mode allowing one to issue \
                    any programming instruction to the AVR chip regardless of whether AVRDUDE implements \
                    that specific feature of a particular chip.

github.tarball_from archive

checksums           rmd160  2a5ac8c842e70aaf3e1536480afe0f9aad5038f8 \
                    sha256  2d3016edd5281ea09627c20b865e605d4f5354fe98f269ce20522a5b910ab399 \
                    size    6526042

depends_build-append \
                    port:flex \
                    port:bison

depends_lib         port:hidapi \
                    port:libelf \
                    port:libftdi1 \
                    port:libserialport \
                    port:libusb \
                    port:readline

# Target "cmTC_6e3dd" requires the language dialect "C11"
compiler.c_standard 2011
