# -*- 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 128279 2014-11-18 05:51:44Z larryv@macports.org $ PortSystem 1.0 name gdbm version 1.11 revision 1 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 f3d38a31ed509fdbfe52674e55585c2e570938c5 \ sha256 8d912f44f05d0b15a4a5d96a76f852e905d051bb88022fcdfd98b43be093e3c3 # Don't link using "-flat_namespace -undefined suppress" on Yosemite and # later (#45709). patchfiles yosemite-libtool.patch configure.ccache no 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