---
name: treecc
version: 0.3.10
origin: lang/treecc
comment: Treecc is designed to assist in the development of compilers
arch: freebsd:9:x86:64
www: UNKNOWN
maintainer: sylvio@FreeBSD.org
prefix: /usr/local
licenselogic: single
flatsize: 456890
desc: |
  The treecc program is designed to assist in the development of
  compilers and other language-based tools.
categories: [lang]
files:
  /usr/local/bin/treecc: 8cc3c4cbef5a12f591a8472abf54aeaf2acbc3cbc00b4221800551a0bc1b5945
  /usr/local/info/treecc.info: 61166ea293965958445eecd573df71cad23075a5a54cbc78cfbd79f176d2e026
  /usr/local/lib/libtreecc.a: 20fbacdaa6127a7426e0ffcb93ad2d01e5233b252410906258e9a234f18ec7c8
  /usr/local/man/man1/treecc.1.gz: 3f57120c02f955c7270328ea83e0545c60e64ae3698afc7140adeb5af47d2957
scripts:
  post-install: |
    file=/usr/local/info/treecc.info
    install-info --quiet /usr/local/info/treecc.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/treecc.info
    install-info --quiet --delete /usr/local/info/treecc.info ${file%25/*}/dir
    if [ $(info -d ${file%25/*}  --output - 2>/dev/null | grep -c '^*') -eq 1 ]; then
      rm -f ${file%25/*}/dir
    fi
