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

github.setup        redraiment qrscan 1.0.0 v
github.tarball_from archive
revision            0

description         Scan a QR code in the terminal using a given PNG image.
long_description    {*}${description}

categories          graphics
installs_libs       no
license             MIT
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

checksums           rmd160  ea6fd76ea37f85ca9031f8ebb0e58b40998f02b0 \
                    sha256  d2143c53d9036ecf3399b306ccb2ed63ee8c96bb7a19249d8f4d7ca00a34ab51 \
                    size    7208

depends_build-append \
                    path:bin/pkg-config:pkgconfig

depends_lib-append  path:lib/pkgconfig/libjpeg.pc:libjpeg-turbo \
                    port:libpng \
                    port:libquirc

# options.c: error: ‘for’ loop initial declaration used outside C99 mode
compiler.c_standard 1999

use_parallel_build  no

patchfiles-append   patch-Makefile.diff

makefile.has_destdir no
