---
name: cutils
version: 1.6
origin: devel/cutils
comment: Miscellaneous C programmer's utilities
arch: freebsd:9:x86:64
www: http://www.sigala.it/sandro/software.php#cutils
maintainer: tj@FreeBSD.org
prefix: /usr/local
licenselogic: single
flatsize: 201778
desc: |
  cutils is a collection of miscellaneous utilities useful
  for C programmers.  It is composed by the following utilities:

  cinfo, cinfoc and cinfodc - C language documentation tools
  cdecl and cundecl - decode and encode C type declarations
  cobfusc - make a C source file unreadable but compilable
  chilight - highlight C source files with colors
  cunloop - unloop C loops
  yyextract - extract grammar rules from yacc grammar
  yyref - yacc grammar reference program

  WWW: http://www.sigala.it/sandro/software.php#cutils
categories: [devel]
files:
  /usr/local/bin/cdecl: e1bcc2cb14063c749a707f6d5a768ac01d2e2ca088c2ad1e1b8bbf4c2fd869d6
  /usr/local/bin/chilight: 3ab678e2c7fb2a10b120dc85f9f27d2ce10717a895ea6d07451d29f869a0fcad
  /usr/local/bin/cobfusc: dbe66103cb8626e952d5a5e9936c34b539cf3ca1691b026a1edc57701855c0a8
  /usr/local/bin/cundecl: f89508d92a18ca387e3903e0ef4a0295c214d3a4e88b09f40cd00af396056717
  /usr/local/bin/cunloop: cb87e56f36a203ac8188dc836539837329db1720186cbf45693fe059f1b1ad8d
  /usr/local/bin/yyextract: 93728f9b92c114ecb4f91728b955d8ee9458435f45ba8bc657dcdd7065158b53
  /usr/local/bin/yyref: 669bca3201415b1ac88b5e5d3f5808308676c18ebacaca3d0ab5468ed5fec295
  /usr/local/info/cutils.info: 901ea24a92cc5eb9c3c13d17874224e4cfed2baa28abd6738f2cfc375800a888
  /usr/local/man/man1/cdecl.1.gz: b4f015c1975457bc692124d3c724d0e2b9dc4e367734b1519c11babbe7316422
  /usr/local/man/man1/chilight.1.gz: cb51d9a2fc75f4856662b02475edd64c8dd28f9f346a3215a8ff569fde246220
  /usr/local/man/man1/cobfusc.1.gz: 633dd0cee6efc99fa501fbe912337428c41941c2944a0547723ad1ef32b15f0c
  /usr/local/man/man1/cundecl.1.gz: 5edb8e8885dd4e4d28a69df6ac2435a6826072a587e3787a76469842a0deb6d0
  /usr/local/man/man1/cunloop.1.gz: 5faa5c86c8091741cce58eadd7f2e5d018c634d4b796b597c517f19c80f2d144
  /usr/local/man/man1/yyextract.1.gz: aeecfb52f3defe917028fff1e537d60df59e6ec860e56602aded553fa3994f86
  /usr/local/man/man1/yyref.1.gz: f54e5065d0b6b0870393d21b97054f0a518a5d4eb3c417e3692ece6d4dfe50bd
scripts:
  post-install: |
    file=/usr/local/info/cutils.info
    install-info --quiet /usr/local/info/cutils.info ${file%25/*}/dir
  pre-deinstall: |
    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/cutils.info
    install-info --quiet --delete /usr/local/info/cutils.info ${file%25/*}/dir
    if [ $(info -d ${file%25/*}  --output - 2>/dev/null | grep -c '^*') -eq 1 ]; then
      rm -f ${file%25/*}/dir
    fi
