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

name                urjtag
version             2021.03
revision            1
categories          cross devel
license             GPL MIT
maintainers         {snc @nerdling} openmaintainer
description         Universal JTAG library and tools
long_description    UrJTAG aims to create an enhanced, modern tool for \
                    communicating over JTAG with flash chips, CPUs, and \
                    many more. It takes on the well proven openwince jtag \
                    tools code.
homepage            http://urjtag.org/
platforms           darwin
master_sites        sourceforge
use_xz              yes
checksums           rmd160  5a064ba37ffedcd6f8e57506947ac5d6c4ea5af1 \
                    sha256  b0a2eaa245513af096dc4d770109832335c694c6c12aa5e92fefae8685416f1c \
                    size    1208440

depends_build       port:pkgconfig
depends_lib         port:libftdi0

configure.args-append   --without-ftd2xx --with-libftdi --disable-python --disable-apps
# python is disabled due to linker issues during build
# apps are disabled due to type mismatch during build

test.run            yes
test.target         check
