---
name: libconfig
version: 1.4.9
origin: devel/libconfig
comment: Simple library for manipulating structured configuration files
arch: freebsd:9:x86:64
www: http://www.hyperrealm.com/libconfig/libconfig.html
maintainer: ntarmos@ceid.upatras.gr
prefix: /usr/local
licenselogic: single
flatsize: 514972
desc: |
  Libconfig is a simple library for manipulating structured configuration
  files. The file format is more compact and more readable than XML. And
  unlike XML, it is type-aware, so it is not necessary to do string
  parsing in application code.

  Libconfig is very compact -- just 25K for the stripped C shared library
  (one-fifth the size of the expat XML parser library) and 39K for the
  stripped C++ shared library. This makes it well-suited for
  memory-constrained systems like handheld devices.

  The library includes bindings for both the C and C++ languages. It works
  on POSIX-compliant UNIX systems (GNU/Linux, Mac OS X, Solaris, FreeBSD)
  and Windows (2000, XP and later).

  WWW: http://www.hyperrealm.com/libconfig/libconfig.html
categories: [devel]
files:
  /usr/local/include/libconfig.h: acf6eee4396925a4936d7c706ca2e75d66d6bff8c5b985e0c72b296ef0280662
  /usr/local/include/libconfig.h++: bfc9e08c82c08b1d6a373f3b0edf50f96e1c978f4be22583cc6e1323ff44fd96
  /usr/local/info/libconfig.info: 93137fb87723397e9a8b90252e82dc6aa4a917288f2bff48d549ac5cd4186e34
  /usr/local/lib/libconfig++.a: 3c75817d468cfa5215022e0a1b906f62ebcae2eeb00f1bd40cbf6164a763753e
  /usr/local/lib/libconfig++.la: c41e062f110034ff0d5ef67f88e2c93cee7bc4448f3ed001db760f882986fa48
  /usr/local/lib/libconfig++.so: '-'
  /usr/local/lib/libconfig++.so.10: 0b91a86de02058eb3306626083beab90a3c095c2a2e2ea4666bf5c3f184ab773
  /usr/local/lib/libconfig.a: b578b315e5d2c6c5baf294ae1f95f8f9642a56f56f96ccffba0d0c5af0588aa0
  /usr/local/lib/libconfig.la: 7889779db17b47864c74da1fd2ca961d624f382751bb2683c6e006a17ac31066
  /usr/local/lib/libconfig.so: '-'
  /usr/local/lib/libconfig.so.10: 7e32558434661ca627ed8ddedac36cd90d2e165e753751498fbdbb5f33664806
  /usr/local/libdata/pkgconfig/libconfig++.pc: 0e84d1cd2ac80a6829c1b7e169fad0925b4ce2a82d83a19c931ef01bb5afe8a7
  /usr/local/libdata/pkgconfig/libconfig.pc: 4377e47f38d3b475208237580bfa9a32d36b3efc5a7d5d15b3b6899f201bbf4e
scripts:
  post-install: |
    /sbin/ldconfig -m /usr/local/lib
    file=/usr/local/info/libconfig.info
    install-info --quiet /usr/local/info/libconfig.info ${file%25/*}/dir
  pre-deinstall: |
    /sbin/ldconfig -R
    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: |
    file=/usr/local/info/libconfig.info
    install-info --quiet --delete /usr/local/info/libconfig.info ${file%25/*}/dir
    if [ $(info -d ${file%25/*}  --output - 2>/dev/null | grep -c '^*') -eq 1 ]; then
      rm -f ${file%25/*}/dir
    fi
