---
name: gdbm
version: 1.10
origin: databases/gdbm
comment: GNU database manager
arch: freebsd:9:x86:64
www: http://www.gnu.org/software/gdbm/
maintainer: johans@FreeBSD.org
prefix: /usr/local
licenselogic: single
licenses:
- GPLv3
flatsize: 338508
desc: |
  The GNU dbm is a library of database functions that use extensible 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.

  This library exists in the FreeBSD base collection, but the GNU version has
  added functionality that is sometimes useful.

  WWW: http://www.gnu.org/software/gdbm/
deps:
  gettext: {origin: devel/gettext, version: 0.18.3}
  libiconv: {origin: converters/libiconv, version: 1.14_1}
categories:
- databases
shlibs_required:
- libgdbm.so.4
- libintl.so.9
- libiconv.so.3
shlibs_provided:
- libgdbm.so.4
options: {NLS: on, COMPAT: off}
files:
  /usr/local/bin/testgdbm: c8e8b95dcd462c77527039cee3d8657a0d123981e15313b6001a1e182cc0d7fd
  /usr/local/include/gdbm.h: 20b1d5acef0b0ae35d8f9e0bb31303d81122c46d66d17f8f81e3e4292e1d7bd9
  /usr/local/info/gdbm.info: 859710f32e5fd01def5449a20131ff316be8df570a383be338da7fc3c39904bc
  /usr/local/lib/libgdbm.a: bffaae1ebdabb78204514b67f2fb9ab7953f821bc95ce6eb3e31947a259e954a
  /usr/local/lib/libgdbm.la: b089b90ece230880ca73209fce95c130a74cacc040674a45f8267e4583b7e328
  /usr/local/lib/libgdbm.so: '-'
  /usr/local/lib/libgdbm.so.4: eb4c68fc805aeaad7c22e072f3b895cefff586a3b8be969e036ec3001914a4bc
  /usr/local/man/man3/gdbm.3.gz: b2d4d3d6481db62bbc71294fb2559d8018946b2af7b796bca18aed32174e3fb1
  /usr/local/share/licenses/gdbm-1.10/GPLv3: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903
  /usr/local/share/licenses/gdbm-1.10/LICENSE: feb018c22cc4001bbeccc04db5569c5aeaec18f1ebbee51a52d56c251418e243
  /usr/local/share/licenses/gdbm-1.10/catalog.mk: 371dbed5d74589f8d17ce7b8901281b0fdfa5f3cd1a4016e4f3b391094b8c0da
  /usr/local/share/locale/de/LC_MESSAGES/gdbm.mo: adef4ea2d73c6619102482ea4b1ca27888eeeafe7ad3de1128607e1aefb76824
  /usr/local/share/locale/fi/LC_MESSAGES/gdbm.mo: 3193b5914af9f89887cfaad000718f7f2f0595b3086b967dbde2170ac750e905
  /usr/local/share/locale/ja/LC_MESSAGES/gdbm.mo: bd334f12e51a615337b253768117d72b92575b1743e036557be422c247af4974
  /usr/local/share/locale/pl/LC_MESSAGES/gdbm.mo: 16a149ec7ea5a82142d9dfb9089450c10342d23da40c909f0098b78bbf6d0b04
  /usr/local/share/locale/uk/LC_MESSAGES/gdbm.mo: 0826f40906ed2289fa007fd6b551785667f11348332c703439b6a20550de8d6a
directories:
  /usr/local/share/licenses/gdbm-1.10/: n
  /usr/local/share/licenses/: y
scripts:
  post-install: |
    /sbin/ldconfig -m /usr/local/lib
    cd /usr/local
    file=/usr/local/info/gdbm.info
    install-info --quiet /usr/local/info/gdbm.info ${file%25/*}/dir
  pre-deinstall: |
    cd /usr/local
    if [ -f /usr/local/info/dir ]; then if sed -e '1,/Menu:/d' /usr/local/info/dir | grep -q '^[*] '; then true; else rm /usr/local/info/dir; fi; fi
  post-deinstall: |
    /sbin/ldconfig -R
    cd /usr/local
    file=/usr/local/info/gdbm.info
    install-info --quiet --delete /usr/local/info/gdbm.info ${file%25/*}/dir
    if [ $(info -d ${file%25/*}  --output - 2>/dev/null | grep -c '^*') -eq 1 ]; then
      rm -f ${file%25/*}/dir
    fi
