# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           github 1.0
PortGroup           meson 1.0

github.setup        kamiyaa ruiji 7f5c00a165ac2b2b1f62a3c290ae56f7818f30ae
version             0.8.0-20200623
revision            0
categories          www anime graphics
license             LGPL-3
maintainers         {@barracuda156 macos-powerpc.org:barracuda} openmaintainer

description         Reverse anime image searching program
long_description    Command that uploads a supported image format to http\://iqdb.org, \
                    parses the subsequent html for similar image results and prompts \
                    the user which one to download.

checksums           rmd160  ab7ba7c9c46637e7f3271eac959746f6892d7351 \
                    sha256  86b0c378f641b6832fb8501c98771d8b51cb4914b504578f63fab49c6df0863b \
                    size    755067
github.tarball_from archive

# https://github.com/kamiyaa/ruiji/issues/11
# https://github.com/kamiyaa/ruiji/issues/12
patchfiles          patch-fix-meson.build.diff \
                    patch-interface.c.diff

depends_lib-append  port:curl

compiler.blacklist-append \
                    *gcc-4.* {clang < 400}

configure.args-append \
                    -Dcolor=true
