---
name: hebcal
version: 3.7
origin: deskutils/hebcal
comment: Hebrew Calendar calculator
arch: freebsd:9:x86:64
www: http://www.hebcal.com/
maintainer: edwin@mavetju.org
prefix: /usr/local
licenselogic: single
flatsize: 110515
desc: |
  Jewish calendar generator.

  Author: Danny Sadinoff <danny@sadinoff.com>
  WWW: http://www.hebcal.com/
categories: [deskutils]
files:
  /usr/local/bin/hebcal: d781105d943e044354a87c11fa8d2e4150226b86e1f037d68671562ffd647b1a
  /usr/local/info/hebcal.info: 4f182c5b057cc7f1db06e3513d61c248b400e78368eaf50c733b852d242c74e3
  /usr/local/man/man1/hebcal.1.gz: 5e18d56b36c6831c736fc389347853b33c3d6ed51a8ce77f71c625adb89f5631
scripts:
  post-install: |
    file=/usr/local/info/hebcal.info
    install-info --quiet /usr/local/info/hebcal.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/hebcal.info
    install-info --quiet --delete /usr/local/info/hebcal.info ${file%25/*}/dir
    if [ $(info -d ${file%25/*}  --output - 2>/dev/null | grep -c '^*') -eq 1 ]; then
      rm -f ${file%25/*}/dir
    fi
