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

name                xbase
version             3.1.2
revision            2
checksums           rmd160  8f2a16fcecd6098b7b3ca47354e33a387a7dc1d9 \
                    sha256  5920c453e358ef4af8408c1998805af4537d288436dd7f3c31b5561bfe3c489c \
                    size    425650

categories          databases devel
# lib is LGPL, executables are GPL
license             {LGPL GPL-2+}
platforms           darwin
maintainers         nomaintainer

description         XBase compatible C++ class library

long_description    Xbase is an XBase compatible C++ class library. It \
                    provides C and C++ programmers with a cross-platform \
                    class and function library for manipulating Xbase type \
                    datafiles and indexes. There is support for .DBF and \
                    .NDX files (including support for Dbase III and IV memo \
                    fields, dates, and record and file locking), and limited \
                    support is also supplied for .NTX (clipper index) files.

homepage            http://linux.techass.com/projects/xdb/
master_sites        sourceforge:project/xdb/Source/${version}
distname            ${name}64-${version}

patchfiles          patch-bin-dumprecs-cpp.diff \
                    patch-xbase64-cpp.diff \
                    patch-xbase64-xbnode-cpp.diff \
                    patch-xblock-cpp.diff \
                    patch-xbtypes-h.diff \
                    fix-extension-comparison.patch \
                    fix-GNUC-GNUG-defines.patch \
                    include-unistd.patch

configure.args-append --without-xbase-locking

configure.ccache    no

use_parallel_build  no
