# -*- 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        chewing libchewing 0.5.1 v
github.tarball_from releases
use_bzip2           yes

categories          devel
platforms           darwin
license             LGPL-2.1

maintainers         gmail.com:halboof \
                    openmaintainer
description         The intelligent phonetic input method library
long_description    The Chewing is an intelligent phonetic (Zhuyin/Bopomofo) \
                    input method, one of the most popular choices for \
                    Traditional Chinese users. Chewing was inspired by other \
                    proprietary intelligent Zhuyin input methods under \
                    Microsoft Windows, namely, Wang-Xin by Eten, Microsoft \
                    New Zhuyin, and Nature Zhuyin.
homepage            http://chewing.im/

checksums           rmd160  4d6b48f8a40c99b5c36539a255368e0a622d5f78 \
                    sha256  9708c63415fa6034435c0f38100e7d30d0e1bac927f67bec6dfeb3fef016172b

configure.args      --without-sqlite3

variant sqlite3 description {Build sqlite3 support} {
    depends_lib-append      port:sqlite3
    configure.args-replace  --without-sqlite3 --with-sqlite3
}
