---
name: fastjar
version: 0.93.20060808
origin: archivers/fastjar
comment: Version of JDK's `jar' command written entirely in C
arch: freebsd:9:x86:64
www: http://fastjar.sourceforge.net/
maintainer: maho@FreeBSD.org
prefix: /usr/local
licenselogic: single
licenses: [GPLv2]
flatsize: 130752
desc: |
  Fastjar is a version of Sun's `jar' utility, written entirely in C, and
  therefore quite a bit faster.  Fastjar can be up to 100x faster than the
  stock `jar' program running without a JIT.  Currently, the author is
  working on adding all the features present in the Sun utility.  At the
  moment, implemented features are:

    * Archive creation
    * Verbose/quiet output
    * stdout vs. file output
    * Manifest file support
    * Deflation or storage
    * Changing to directory and adding files (-C)
    * Archive content listing (-t)
    * Archive extraction (-x)

  WWW: http://fastjar.sourceforge.net/
categories: [java, archivers]
options: {DOCS: on}
files:
  /usr/local/bin/fastjar: c23d7262eacb25d809a21e64af7d936a2cd3976b2312423c1f8b019a26d237f6
  /usr/local/bin/grepjar: d42ce93d1a4b398f295136abb0662bb0505df4797960ac1d63dde7920104746c
  /usr/local/info/fastjar.info: ea85c1bb7887240b4954addb8e4b5a041b5b4907cb732fba5a2cfb990f6ebe53
  /usr/local/man/man1/fastjar.1.gz: f4598625a191d05ef86501ead11e4ad960172129d04dcc9fb0c884a9334091ea
  /usr/local/man/man1/grepjar.1.gz: d42e5daeca385775fc2959d15eb1f26144eabe14f0d551e39643b79ae9c6c1ba
  /usr/local/share/doc/fastjar/CHANGES: b9a167d016758bb9935c165bc749eec0014eb9c87f6c1c436b36ffc539d8ced1
  /usr/local/share/doc/fastjar/ChangeLog: db5da3f9d66b4ca40158588c77a335ac372b061318274a2dc58cce3964a03bb5
  /usr/local/share/doc/fastjar/NEWS: b565959973f86b35f4c117d3a0d9ff9b78d00de40fe86a70a0c7922655886642
  /usr/local/share/doc/fastjar/README: a7dc6ca697c25d1f8b2f27a17668f80357be9f852c0191c8927aa7eefbd4e1d6
  /usr/local/share/licenses/fastjar-0.93.20060808/GPLv2: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643
  /usr/local/share/licenses/fastjar-0.93.20060808/LICENSE: 7e1394d03c5f275a402fe721ff1d1349449ea8602b52af954c76463afcdb6ef7
  /usr/local/share/licenses/fastjar-0.93.20060808/catalog.mk: 02e0c586c2c76223ffc40aece1b0431269ceb7d7c39fb0d336de435c725c25a9
directories:
  /usr/local/share/licenses/fastjar-0.93.20060808/: n
  /usr/local/share/licenses/: y
  /usr/local/share/doc/fastjar/: n
scripts:
  post-install: |
    cd /usr/local
    file=/usr/local/info/fastjar.info
    install-info --quiet /usr/local/info/fastjar.info ${file%25/*}/dir
    cd /usr/local
  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
    cd /usr/local
  post-deinstall: |
    cd /usr/local
    file=/usr/local/info/fastjar.info
    install-info --quiet --delete /usr/local/info/fastjar.info ${file%25/*}/dir
    if [ $(info -d ${file%25/*}  --output - 2>/dev/null | grep -c '^*') -eq 1 ]; then
      rm -f ${file%25/*}/dir
    fi
    cd /usr/local
