# -*- 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: Portfile 78138 2011-04-25 08:27:27Z ryandesign@macports.org $ PortSystem 1.0 name qdbm version 1.8.78 categories databases license LGPL-2.1+ maintainers gmail.com:rsky0711 nifty.com:pelopor platforms darwin description QDBM is a library of routines for managing a database. long_description \ QDBM is a library of routines for managing a database. The database is a\ simple data file containing records, each is a pair of a key and a\ value. Every key and value is serial bytes with variable length. Both binary\ data and character string can be used as a key and a value. There is neither\ concept of data tables nor data types. Records are organized in hash table\ or B+ tree. homepage http://fallabs.com/qdbm/index.html master_sites http://fallabs.com/qdbm/ checksums sha1 8c2ab938c2dad8067c29b0aa93efc6389f0e7076 \ rmd160 84c812eaa0ddde822dd37515de67287098bd3a4b depends_lib port:libiconv port:zlib patchfiles Makefile.in.diff configure.args --mandir=${prefix}/share/man \ --datadir=${prefix}/share/doc \ --enable-pthread \ --enable-zlib --enable-iconv configure.universal_args-delete --disable-dependency-tracking post-extract { #configure reinplace "s|\$HOME|\${prefix}|g" \ ${worksrcpath}/configure # Makefile.in reinplace "s|\$(HOME)|\$(prefix)|g" \ ${worksrcpath}/Makefile.in } test.run yes platform macosx { build.target mac if {[variant_isset universal]} { build.args-append ARCHFLAGS="${configure.universal_cflags}" } else { build.args-append ARCHFLAGS="${configure.cc_archflags}" } test.target check-mac destroot.target install-mac } variant debug { configure.args-append --enable-debug } variant bzip2 { depends_lib-append port:bzip2 configure.args-append --enable-bzip } variant lzo { depends_lib-append port:lzo2 configure.args-append --enable-lzo } livecheck.type regex livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}