---
name: barcode
version: 0.98
origin: graphics/barcode
comment: A barcode generation library along with a command line frontend
arch: freebsd:9:x86:64
www: http://www.gnu.org/software/barcode/
maintainer: jev@ecad.org
prefix: /usr/local
licenselogic: single
flatsize: 195581
desc: "GNU barcode is a tool to convert text strings to printed bars. It \nsupports
  a variety of standard codes to represent the textual strings\nand creates postscript
  output.\n\nMain features of GNU Barcode:\n\n* Available as both a library and an
  executable program\n* Supports UPC, EAN, ISBN, CODE39 and other encoding standards\n*
  Postscript and Encapsulated Postscript output\n* Accepts sizes and positions as
  inches, centimeters, millimeters\n* Can create tables of barcodes (to print labels
  on sticker pages)\n\nWWW: http://www.gnu.org/software/barcode/\n"
categories: [graphics]
files:
  /usr/local/bin/barcode: f86fa72836ba38f90c7ea257447ccfe05f2ab4b00a89bca6af45119ce0f2173e
  /usr/local/include/barcode.h: a7a647826d3429f9a787bfd3204c57f8cd8466bf0ebae8c394efc4a2a3da5a71
  /usr/local/info/barcode.info: 3d9773b37df17a7a654bec9a5dff86525e7ea105e511c8f8244c6b9ad6964dad
  /usr/local/lib/libbarcode.a: 297885d53e9dbe22ca6e286437c5dbaadf6f9e0f96dc898b40a22f7831f22fc7
  /usr/local/man/man1/barcode.1.gz: 6e7f34f63dc1f8a7aa3d9bc05cbd9d09c261ec26243aec5847d345b02f58abc0
  /usr/local/man/man3/barcode.3.gz: 07f7979d191e9036d47cb5bbfda16f79c255fb776ecbc55f23ffeb943e489a78
scripts:
  post-install: |
    file=/usr/local/info/barcode.info
    install-info --quiet /usr/local/info/barcode.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/barcode.info
    install-info --quiet --delete /usr/local/info/barcode.info ${file%25/*}/dir
    if [ $(info -d ${file%25/*}  --output - 2>/dev/null | grep -c '^*') -eq 1 ]; then
      rm -f ${file%25/*}/dir
    fi
