# -*- coding: utf-8; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup github 1.0 github.setup LMDB lmdb 0.9.18 LMDB_ categories databases maintainers hum openmaintainer description Symas Lightning Memory-Mapped Database (LMDB) long_description LMDB is an ultra-fast, ultra-compact key-value embedded data \ store developed by Symas for the OpenLDAP Project. It uses \ memory-mapped files, so it has the read performance of a \ pure in-memory database while still offering the persistence \ of standard disk-based databases, and is only limited to the \ size of the virtual address space, (it is not limited to the \ size of physical RAM). Note: LMDB was originally called MDB, \ but was renamed to avoid confusion with other software \ associated with the name MDB. homepage http://symas.com/mdb/ platforms darwin license OpenLDAP-2.8+ checksums rmd160 cda848aa68df5f4190e482d44fbf088c7f323518 \ sha256 861f72846c8c723bd78d2cb394cc10dd4d3e933a0469a417a484a78b91226e19 depends_build-append port:cctools patchfiles patch-Makefile.diff worksrcdir ${name}-${version}/libraries/liblmdb use_configure no variant universal {} build.args CC="${configure.cc}" \ CFLAGS="${configure.cflags} [get_canonical_archflags]" destroot.args-append prefix=${prefix} post-destroot { # set install name to the library set dylib ${prefix}/lib/liblmdb.dylib system "install_name_tool -id ${dylib} ${destroot}${dylib}" # install additional documents set docdir ${prefix}/share/doc/${name} xinstall -d ${destroot}${docdir} xinstall -m 644 -W ${worksrcpath} \ CHANGES COPYRIGHT LICENSE \ ${destroot}${docdir} }