# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $ PortSystem 1.0 name qdbm version 1.8.76 categories databases 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 ced214012ba26f27a53ece11b3b62237 \ sha1 fa43b84d48373fa6d46539ce70ee14a6e7fad28d \ rmd160 e01a53ea282a7d05e3c9704500d7ccd63358d4be 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 }