---
name: filewatcherd
version: 1.0b2
origin: sysutils/filewatcherd
comment: Daemon that watches files and runs commands when they change
arch: freebsd:10:x86:64
www: https://github.com/faelys/filewatcherd/
maintainer: natbsd@instinctive.eu
prefix: /usr/local
licenselogic: single
licenses:
- BSD
flatsize: 22400
desc: |
  filewatcherd is a daemon inspired by cron, that run commands based on file
  changes instead of time.

  In principle it is similar to incron, but it's simpler, more limited,
  and does not depend on anything outside of FreeBSD base.

  WWW: https://github.com/faelys/filewatcherd/
categories:
- sysutils
files:
  /usr/local/sbin/filewatcherd: 65864ac6394bbcaada88a4fdc382338bff509eb0cdca6646877dd028d1108426
  /usr/local/etc/watchtab.sample: b64cf9452be460ae63e55b9bbaf162c5f529683d2a7d6dccc4d88d5aaf1319c1
  /usr/local/share/licenses/filewatcherd-1.0b2/catalog.mk: 4651194a2dea8afc2f98cbe3aac152e1628b1df5a3025036c8cf657b01a9dda9
  /usr/local/share/licenses/filewatcherd-1.0b2/LICENSE: d9cce0db43502eb1bd8fbef7e960cfaa43b5647186f7f7379923b336209fd77b
  /usr/local/share/licenses/filewatcherd-1.0b2/BSD: 85e7a53b5e2d3e350e2d084fed2f94b7f63005f8e1168740e1e84aa9fa5d48ce
  /usr/local/etc/rc.d/filewatcherd: 0001b51b3b93ff038985ae2ee94943a19a0e7627264b7640b48c109aabfe7b05
directories:
  /usr/local/share/licenses/filewatcherd-1.0b2/: n
  /usr/local/share/licenses/: y
scripts:
  post-install: |
    cd /usr/local
    cd /usr/local
  pre-deinstall: |
    cd /usr/local
    cd /usr/local
    #rmdir /usr/local/share/licenses 2>/dev/null || true
  post-deinstall: |
    cd /usr/local
    cd /usr/local
message: "========================================================================\nfilwatcherd
  configuration files were installed in the following directory:\n\n\t/usr/local/etc/filewatcherd\n\nBefore
  starting the server or the client you need to perform the\nfollowing steps:\n\n1)
  Copy the appropriate sample configuration file as follows:\n\n\tcp /usr/local/etc/filewatcherd/watchtab.sample
  /usr/local/etc/filewatcherd/watchtab\n\n2) Edit filewatcherd's configuration file
  to suit your needs:\n\n\t$EDITOR /usr/local/etc/filewatcherd/watchtab\n\n3) Add
  the following line to your rc.conf:\n\n\tfilewatcherd_enable=\"YES\"\n\n\nThen you
  can start filewatcherd by issuing the following command:\n\n\t/usr/local/etc/rc.d/filewatcherd
  start\n========================================================================\n"
