---
name: confget
version: 1.05
origin: textproc/confget
comment: Read variables from INI-style configuration files
arch: freebsd:10:x86:64
www: http://devel.ringlet.net/textproc/confget/
maintainer: sunpoet@FreeBSD.org
prefix: /usr/local
licenselogic: single
licenses:
- BSD
flatsize: 22514
desc: |
  The confget utility examines a INI-style configuration file and retrieves
  the value of the specified variables from the specified section.
  Its intended use is to let shell scripts use the same INI-style
  configuration files as other programs, to avoid duplication of data.

  The confget utility may retrieve the values of one or more variables,
  list all the variables in a specified section, list only those whose names
  or values match a specified pattern (shell glob or regular expression), or
  check if a variable is present in the file at all.  It has a "shell-quoting"
  output mode that quotes the variable values in a way suitable for passing
  them directly to a Bourne-style shell.

  Author: Peter Pentchev <roam@ringlet.net>
  WWW: http://devel.ringlet.net/textproc/confget/
deps:
  pcre: {origin: devel/pcre, version: 8.33}
categories:
- textproc
shlibs_required:
- libpcre.so.3
options: {EXAMPLES: on, PCRE: on}
files:
  /usr/local/bin/confget: 583b79b010000f803ecfa3c5ab13546d3fc067e18ad73515bcdfd1a291044234
  /usr/local/man/man1/confget.1.gz: a89b792f3d33d40b13a336e7345a691a26d8c3b6df140749798c9bf2136a4615
  /usr/local/share/licenses/confget-1.05/catalog.mk: 6713ce67be61a5860e3718eeb391d3e95fa5b181ac36b27f29805042c3bd5690
  /usr/local/share/licenses/confget-1.05/LICENSE: d9cce0db43502eb1bd8fbef7e960cfaa43b5647186f7f7379923b336209fd77b
  /usr/local/share/licenses/confget-1.05/BSD: 85e7a53b5e2d3e350e2d084fed2f94b7f63005f8e1168740e1e84aa9fa5d48ce
  /usr/local/share/examples/confget/t1.ini: c48bd033062c7cc1f7a6e3fd851e48fda2edc086625eaa90bcf10a93a6f142af
  /usr/local/share/examples/confget/t2.ini: f2bf4c412bc38fc6fb4b068caa9fd2e337a7658916fd49e18c42df7be60ae453
directories:
  /usr/local/share/licenses/confget-1.05/: n
  /usr/local/share/licenses/: y
  /usr/local/share/examples/confget/: n
scripts:
  post-install: |
    cd /usr/local
  pre-deinstall: |
    cd /usr/local
    #rmdir /usr/local/share/licenses 2>/dev/null || true
  post-deinstall: |
    cd /usr/local
