# -*- 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           legacysupport 1.1
PortGroup           wxWidgets 1.0

github.setup        utelle wxsqlite3 4.12.6 v
revision            0
categories          databases
license             {GPL-3 LGPL-3}
maintainers         {@barracuda156 macos-powerpc.org:barracuda} openmaintainer

description         wxSQLite3, a lightweight wrapper for SQLite
long_description    {*}${description}
checksums           rmd160  522aa18d5b124c888551ecb090ef591eef84c420 \
                    sha256  b2e7920dd4b4be4262e774c0163129adf2adde1c526d974fe0c9f6679d0e2b39 \
                    size    9877205
github.tarball_from archive

wxWidgets.use       wxGTK-3.2

use_autoreconf      yes

depends_lib-append  port:sqlite3 \
                    port:${wxWidgets.port}

# sqlite3mc_amalgamation.c: error: redefinition of typedef 'u8'
compiler.c_standard     2011
# strvararg.h: error: type_traits: No such file or directory
compiler.cxx_standard   2011

configure.args-append \
                    --disable-silent-rules \
                    --with-wx-config=${wxWidgets.wxconfig}
