# -*- 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 148773 2016-05-17 19:32:12Z mps@macports.org $ PortSystem 1.0 name gdbm version 1.12 categories databases platforms darwin license GPL-3+ maintainers nomaintainer description The GNU database manager long_description The GNU `dbm' is a library of database functions \ that use extendible hashing and works similar to \ the standard UNIX `dbm' functions. These routines \ are provided to a programmer needing to create and \ manipulate a hashed database. homepage http://www.gnu.org/software/gdbm/gdbm.html depends_lib port:gettext master_sites gnu checksums rmd160 5f47e6adfec14b31c3e26c1027684ba4845eef8a \ sha256 d97b2166ee867fd6ca5c022efee80702d6f30dd66af0e03ed092285c3af9bcea # Don't link using "-flat_namespace -undefined suppress" on Yosemite and # later (#45709). patchfiles yosemite-libtool.patch configure.ccache no configure.args --disable-silent-rules post-install { # gdbm @1.8.3_1 installed files outside the destroot; remove them if found foreach file {share/info/gdbm.info share/man/man3/gdbm.3} { set filepath ${prefix}/${file} if {[file exists ${filepath}] && [registry_file_registered ${filepath}] == "0"} { if {[catch {delete ${filepath}}]} { ui_warn "Cannot delete ${filepath}; please remove it manually" } } } } variant compat description {Install dbm/ndbm compatibility files} { configure.args-append --enable-libgdbm-compat } livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)\\.tar