---
name: fatback
version: 1.3_1
origin: sysutils/fatback
comment: Recover deleted files from FAT filesystems
arch: freebsd:9:x86:64
www: http://sourceforge.net/project/showfiles.php?group_id=46038
maintainer: ehaupt@FreeBSD.org
prefix: /usr/local
licenselogic: single
flatsize: 355082
desc: |
  Fatback is a forensic tool for undeleting files from FAT file systems.

  Fatback is different from other undelete tools in that it does the
  following:

     * Runs under UNIX environments
     * Can undelete files automatically
     * Supports Long File Names
     * Supports FAT12, FAT16, and FAT32
     * Powerful interactive mode
     * Recursively undeletes deleted directories
     * Recovers lost cluster chains
     * Works with single partitions or whole disks

  WWW: http://sourceforge.net/project/showfiles.php?group_id=46038
categories: [sysutils]
options: {DOCS: on}
files:
  /usr/local/bin/fatback: 52886f4ca7c333b08c089a68b6f3b438cb4ff9169c1697f7f0b6540c1ccb891a
  /usr/local/info/fatback-manual.info: cb862839e21bc4c32aa8187da421a2736a82983d60d8fa0fe78eb799bf8e7c72
  /usr/local/man/man1/fatback.1.gz: c970114cb289aa241ecfa5ea3c1de7f0f9191f8c6d283a1569e7b6a5799c797b
  /usr/local/share/doc/fatback/AUTHORS: 181c66425c7b229e7c6521f855d94011e3f0654b152adad8f12884c83cae3047
  /usr/local/share/doc/fatback/ChangeLog: 9ce63f35ef515248e5f9fd2791cac2e5e635cd2821768981680369aabdc3cd2c
  /usr/local/share/doc/fatback/fatback-manual.texi: 64a1f1cba962d88a28c87e2d7adaf16c44d55118e0afb9f8d5c53ecfaf8c27d7
  /usr/local/share/doc/fatback/texinfo.tex: 9c2cb94ca186eb68eb7c36515d5d2b32e5df7bee85eab7ab7c59820e92fd81ac
directories:
  /usr/local/share/doc/fatback/: n
scripts:
  post-install: |
    file=/usr/local/info/fatback-manual.info
    install-info --quiet /usr/local/info/fatback-manual.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/fatback-manual.info
    install-info --quiet --delete /usr/local/info/fatback-manual.info ${file%25/*}/dir
    if [ $(info -d ${file%25/*}  --output - 2>/dev/null | grep -c '^*') -eq 1 ]; then
      rm -f ${file%25/*}/dir
    fi
