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

name                libzint
github.setup        zint zint 2.16.0
revision            0
categories          graphics devel
license             GPL
maintainers         nomaintainer
description         Barcode encoding library
long_description    {*}${description}
checksums           rmd160  086a0054d1c2e6cde5d29324b8ae94865ea382b2 \
                    sha256  e1077fd5846bdd0128fef3ab8c3c28e93e450d2efaf1424d0aa96e0c9e514591 \
                    size    6437464
github.tarball_from archive

depends_lib-append  port:libpng

configure.args-append \
                    -DZINT_FRONTEND=ON \
                    -DZINT_USE_PNG=OFF \
                    -DZINT_USE_QT=OFF \
                    -DZINT_SHARED=ON \
                    -DZINT_TEST=OFF

compiler.blacklist-append \
                    *gcc-4.0 *gcc-4.2
