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

PortSystem          1.0
PortGroup           github 1.0

github.setup        openlink iODBC 3.52.8 v
#override name (keep it lowercase)
name                libiodbc
conflicts           unixODBC
version             3.52.8
categories          devel
maintainers         snc openmaintainer
license             BSD
description         Independent Open DataBase Connectivity
long_description    iODBC is the acronym for Independent Open DataBase Connectivity, \
                    an Open Source platform independent implementation of both the \
                    ODBC and X/Open specifications.
platforms           darwin

checksums           rmd160  b0f091679ab45a0669468b9c85f45863ad54e7bc \
                    sha256  d37b468c2fbed046c4778aee1f8d9f1e73f1321cc33e2e264998c0d701ca26fb

depends_lib-append  port:libtool

patchfiles          patch-iodbcinst-unicode.h.diff

pre-configure {
    system -W ${worksrcpath} "sh ./bootstrap.sh"
}
configure.args-append   --with-iodbc-inidir=${prefix}/etc

# make[2]: *** No rule to make target `../iodbcadm/libiodbcadm.la', needed by `iodbcadm-gtk'.  Stop.
use_parallel_build  no
