# $Id: Portfile 107045 2013-06-16 15:49:24Z and.damore@macports.org $
PortSystem 1.0
PortGroup github 1.0

github.setup            brianb mdbtools 0.7
license                 GPL-2
description             libraries and programs to help using MSAccess databases
long_description        \
    MDB Tools is a suite of libraries and programs to facilitate the use of \
    Microsoft Access databases, also known as Jet databases after the Microsoft's \
    Jet Database Engine or as MDB databases after the .mdb extension used by the \
    file containing the database

platforms               darwin 
categories              databases devel
maintainers             and.damore openmaintainer

depends_build           port:flex \
                        port:gawk \
                        port:bison \
                        port:txt2man \
                        port:pkgconfig
                        
depends_lib             path:lib/pkgconfig/glib-2.0.pc:glib2

checksums               rmd160  3dfa263f73eb65e3e2899810c10fa55f0bd5d804 \
                        sha256  6d49c52ee578dc7209865873a5715ff2adc6cab214faae6b5c2b91ee058c5c6f

patchfiles              patch-configure_in.diff \
                        patch-src_sql_makefile_am.diff \
                        patch-src_libmdb_makefile_am.diff
                        
use_autoreconf          yes
configure.args-append   --mandir=${prefix}/share/man

