---
name: fnccheck
version: 3.2.0
origin: devel/fnccheck
comment: Profiling library/utilities for C/C++ programs
arch: freebsd:9:x86:64
www: http://sourceforge.net/projects/fnccheck/
maintainer: ports@FreeBSD.org
prefix: /usr/local
licenselogic: and
licenses: [LGPL21, GPLv2]
flatsize: 1479526
desc: |
  FncCheck is a library which generates profiles for C/C++ programs.
  A profile is a list of informations about your functions, such as
  time spend in functions, number of calls and other things.

  In order to use FncCheck, you have to compile your .o files
  with '-finstrument-functions -g' switches (gcc V2.95.2 and higher).
  You have then to link your executable with the library 'libfc.so'.

  WWW: http://sourceforge.net/projects/fnccheck/
deps:
  gettext: {origin: devel/gettext, version: 0.18.1.1_1}
  libiconv: {origin: converters/libiconv, version: 1.14_1}
categories: [devel]
files:
  /usr/local/bin/fcdump: 64164d4475b62b60acfda1045331f8500fede77bfa4bc082c795bf8e74455d39
  /usr/local/bin/fcmanager: 33e8a7828ae6af6a3f2dfba3e8e3aca7cc45739e996bd6180433d40e745f395e
  /usr/local/info/libfc.info: 3fbead3bd56b1302614e4f770cd65c74df09b933c7281fd2a01ade6958ef6eaf
  /usr/local/lib/libfc.a: 17f255ca69789af67a2fc624237aa734e8236d8c4e590006fc6034e9dc287007
  /usr/local/lib/libfc.la: 05c12f210a60c7fb92b90a02331bc04d8b2f392fb0536ef08e3f4c39229cfae5
  /usr/local/lib/libfc.so: '-'
  /usr/local/lib/libfc.so.0: a5f4e0aa65f538f88d52300a66b60fd2dbb8dd5977c5aab30e43b4ac9efb34f3
  /usr/local/share/licenses/fnccheck-3.2.0/GPLv2: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643
  /usr/local/share/licenses/fnccheck-3.2.0/LGPL21: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551
  /usr/local/share/licenses/fnccheck-3.2.0/LICENSE: c5884fd3fa9015f4209c790f88a69c9eef70ce854584ba4eec63be8f59741c02
  /usr/local/share/licenses/fnccheck-3.2.0/catalog.mk: dda0d9469f4e6fa68bac038dec05bc56e6566117ac1b5df6877ccebeb793e47e
directories:
  /usr/local/share/licenses/fnccheck-3.2.0/: n
  /usr/local/share/licenses/: y
scripts:
  post-install: |
    /sbin/ldconfig -m /usr/local/lib
    cd /usr/local
    file=/usr/local/info/libfc.info
    install-info --quiet /usr/local/info/libfc.info ${file%25/*}/dir
  pre-deinstall: |
    /sbin/ldconfig -R
    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: |
    cd /usr/local
    file=/usr/local/info/libfc.info
    install-info --quiet --delete /usr/local/info/libfc.info ${file%25/*}/dir
    if [ $(info -d ${file%25/*}  --output - 2>/dev/null | grep -c '^*') -eq 1 ]; then
      rm -f ${file%25/*}/dir
    fi
