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

github.setup        saitoha libsixel 1.8.7 v
revision            0
categories          graphics devel
maintainers         nomaintainer
license             MIT

description         Encoder/decoder implementation for DEC SIXEL graphics
long_description    {*}${description} and some converter programs.

checksums           rmd160  5214a6ba7262fef8058f2fbb37f3554d9146c043 \
                    sha256  ebed621b4820f96ff428127797d94f4671f2393560acd4bcc8b540809d391510 \
                    size    4888313
github.tarball_from archive

use_autoreconf      yes

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

depends_lib-append  port:curl \
                    path:lib/libjpeg.dylib:libjpeg-turbo \
                    port:libpng

# error: thread-local storage not supported for this target
compiler.thread_local_storage \
                    yes

configure.args-append \
                    --disable-python \
                    --disable-silent-rules \
                    --enable-img2sixel \
                    --enable-sixel2png \
                    --with-libcurl \
                    --with-jpeg \
                    --with-png \
                    --without-gd \
                    --without-gdk-pixbuf2
