# -*- 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            fukuchi libqrencode 4.1.1 v
name                    qrencode
revision                0

homepage                https://fukuchi.org/works/qrencode

description             A fast and compact library for QR Code generation

long_description        Libqrencode is a C library for encoding data in a QR Code \
                        symbol, a kind of 2D symbology that can be scanned by handy \
                        terminals such as a mobile phone with CCD. The capacity of \
                        QR Code is up to 7000 digits or 4000 characters, and is highly robust.

categories              graphics
maintainers             nomaintainer
license                 LGPL-2.1+
platforms               darwin

checksums               rmd160  a663cc717b1f3b9899a96bfcefad49db928a6759 \
                        sha256  5385bc1b8c2f20f3b91d258bf8ccc8cf62023935df2d2676b5b67049f31a049c \
                        size    190419

depends_build-append    port:pkgconfig
depends_lib-append      port:libpng \
                        port:zlib

configure.args-append   -DBUILD_SHARED_LIBS=YES

test.run                yes
test.target             check

github.tarball_from     archive
