# -*- 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 name qdbm version 1.8.77 categories databases #license LGPL 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://qdbm.sourceforge.net/ master_sites ${homepage} \ sourceforge:${name} checksums md5 084e07824e231969356ec7cefac97985 \ sha1 e277e77bc0209cc4c8eb205a9082ef880048445c \ rmd160 3c684a4127204faf32472d29d7fd64a07e394332 depends_lib port:libiconv port:zlib configure.args --mandir=${prefix}/share/man \ --datadir=${prefix}/share/doc \ --enable-pthread \ --enable-zlib --enable-iconv 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 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 }