# -*- 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.6 v
categories          graphics devel
maintainers         nomaintainer
license             MIT

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

checksums           rmd160  51df506633d2b402c0854914671e8e8ed1585cb7 \
                    sha256  37611d60c7dbcee701346967336dbf135fdd5041024d5f650d52fae14c731ab9 \
                    size    4791628
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

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