---
name: lzip
version: 1.13
origin: archivers/lzip
comment: Is a lossless data compressor based on the LZMA algorithm
arch: freebsd:9:x86:64
www: http://www.nongnu.org/lzip/lzip.html
maintainer: sylvio@FreeBSD.org
prefix: /usr/local
licenselogic: single
licenses: [GPLv3]
flatsize: 168187
desc: "Lzip is a lossless data compressor based on the LZMA algorithm, \nwith very
  safe integrity checking and a user interface similar\nto the one of gzip or bzip2.\n\nWWW:\thttp://www.nongnu.org/lzip/lzip.html\n"
categories: [archivers]
files:
  /usr/local/bin/lzip: 1dc93843cecc999a36b14cf86846e4ae4fe205dece972ab6e58951547dbeaaf2
  /usr/local/info/lzip.info: 3fa6269401f62396322386c6e0289d67f2603dadc6aa0e2a822d8e178486d3df
  /usr/local/man/man1/lzip.1.gz: 9c2ea818f9ba78114de26666ecb3d6bcb88f1a2d836e2aca32df1405ad1f6726
  /usr/local/share/licenses/lzip-1.13/GPLv3: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903
  /usr/local/share/licenses/lzip-1.13/LICENSE: feb018c22cc4001bbeccc04db5569c5aeaec18f1ebbee51a52d56c251418e243
  /usr/local/share/licenses/lzip-1.13/catalog.mk: a5e9215373c62509b90b54e164b19e5133e979097baa34252328a0577957eb1e
directories:
  /usr/local/share/licenses/lzip-1.13/: n
  /usr/local/share/licenses/: y
scripts:
  post-install: |
    cd /usr/local
    file=/usr/local/info/lzip.info
    install-info --quiet /usr/local/info/lzip.info ${file%25/*}/dir
  pre-deinstall: |
    cd /usr/local
    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: |
    cd /usr/local
    file=/usr/local/info/lzip.info
    install-info --quiet --delete /usr/local/info/lzip.info ${file%25/*}/dir
    if [ $(info -d ${file%25/*}  --output - 2>/dev/null | grep -c '^*') -eq 1 ]; then
      rm -f ${file%25/*}/dir
    fi
