---
name: ambit
version: 2.0.39
origin: shells/ambit
comment: Extended bash brace expansion to expand hostnames or commands
arch: freebsd:9:x86:64
www: http://m.a.tt/er/ambit/
maintainer: sklauder@trimind.de
prefix: /usr/local
licenselogic: single
licenses:
- GPLv3
flatsize: 49822
desc: |
  Ambit, at its simplest, uses  Bash Brace Expansion  to expand and list
  hostnames OR commands. First and foremost Ambit is meant to be a general
  purpose hostlist enumerator to be used by other applications or scripts.
  Additionally Ambit can be used to manage User Specific as well as
  System-Wide HostGroups. It can also be used to query Network HostGroups.
  Finally, Ambit is able to detect when it is expanding a command (rather than
  a host list), allowing for the command to be expanded and executed
  synchronously. This means Ambit can expand and run just about anything on
  the command line and usually works in places where Bash Brace Expansion
  might fail.

  WWW: http://m.a.tt/er/ambit/
deps:
  bash: {origin: shells/bash, version: 4.2.45}
  gettext: {origin: devel/gettext, version: 0.18.3}
  libiconv: {origin: converters/libiconv, version: 1.14_1}
categories:
- shells
files:
  /usr/local/bin/ambit: 44588a5dfca160a5fe39bfbcd2ffe7d602564b9ef05db83b070bcf38c786d58c
  /usr/local/etc/ambit.conf.sample: 95bf3503f2f085a38a9bd8565fb2623d11fcb028978f3c6ca3c7afa95421a528
  /usr/local/lib/libambit.sh: a65423d735f7bc037872ff792c3363f835fd5530b2375c3d7ec8ef217b4faa00
  /usr/local/man/man1/ambit.1.gz: b58787e93c67a5b1b911563f058cfe33d1f82fd483653121d1561f41ac70d0af
  /usr/local/share/licenses/ambit-2.0.39/GPLv3: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903
  /usr/local/share/licenses/ambit-2.0.39/LICENSE: feb018c22cc4001bbeccc04db5569c5aeaec18f1ebbee51a52d56c251418e243
  /usr/local/share/licenses/ambit-2.0.39/catalog.mk: e53af3a5e02fc0cb7ee3277aa7b248f4bb6dcd0776480ab19b98a818e64fc9d7
directories:
  /var/spool/ambit/hosts/: y
  /var/spool/ambit/: y
  /usr/local/share/licenses/ambit-2.0.39/: n
  /usr/local/share/licenses/: y
scripts:
  post-install: |
    if [ ! -f /usr/local/etc/ambit.conf ] ; then cp -p /usr/local/etc/ambit.conf.sample /usr/local/etc/ambit.conf; fi
    mkdir -p /var/spool/ambit/hosts
    cd /
    cd /usr/local
  pre-deinstall: |
    if cmp -s /usr/local/etc/ambit.conf.sample /usr/local/etc/ambit.conf; then rm -f /usr/local/etc/ambit.conf; fi
    cd /
    cd /usr/local
  post-deinstall: |
    cd /
    cd /usr/local
