---
name: libtre
version: 0.8.0_1
origin: textproc/libtre
comment: Lightweight fully POSIX compliant regexp matching library
arch: freebsd:9:x86:64
www: http://laurikari.net/tre/
maintainer: bf@FreeBSD.org
prefix: /usr/local
licenselogic: single
licenses: [BSD]
flatsize: 273435
desc: |
  Libtre is an attempt to create a lightweight, robust, and efficient fully
  POSIX compliant regexp matching library. There is still some work left, but
  the results so far are promising.

  At the core of Libtre is a new algorithm for regular expression matching with
  submatch addressing. The algorithm uses linear worst-case time in the length
  of the text being searched, and quadratic worst-case time in the length of the
  used regular expression. In other words, the time complexity of the algorithm
  is O(M2N), where M is the length of the regular expression and N is the length
  of the text. The used space is also quadratic on the length of the regex, but
  does not depend on the searched string. This quadratic behaviour occurs only
  on pathological cases which are probably very rare in practice.

  WWW: http://laurikari.net/tre/
deps:
  gettext: {origin: devel/gettext, version: 0.18.1.1_1}
  libiconv: {origin: converters/libiconv, version: 1.14_1}
categories: [textproc]
options: {DOCS: on, NLS: on, OPTIMIZED_CFLAGS: off, PGO: off}
files:
  /usr/local/bin/tre_agrep: d5556ed375ef5c5d0943df2df94511d2f11e9afb01bd5fe2e554f4b1d5dc5696
  /usr/local/include/tre/regex.h: 8f3277de7cac440b001242a6a980ef756ee180656beb1efe4363c0fb6519adfc
  /usr/local/include/tre/tre-config.h: 7c69b70e4caa86f3866eac281b642c0e7e45501e369bff592d4b2d40dce6631d
  /usr/local/include/tre/tre.h: 35d821cc7fe4862a3888f41240270bed484e1617a2ee33f0fe850fc9a5f08dc0
  /usr/local/lib/libtre.a: 9acb693f8611478c1e611c37f9a4313206b33deb4a7063a0470e748aebc2d3c9
  /usr/local/lib/libtre.la: 4db5bacd2f486baa3c40ac6581415ad57b87fe43bd0e33cb472d2c3490a9e043
  /usr/local/lib/libtre.so: '-'
  /usr/local/lib/libtre.so.5: a4323f2c211ef996fd0be2618280282a09e0094ec2036049962c9c8fe3ccd070
  /usr/local/libdata/pkgconfig/tre.pc: 525058b52701f62e0f0ac635e26f87017f524a1511dc0a58ca9a76cb3e0ec9eb
  /usr/local/man/man1/tre_agrep.1.gz: 7c72912ae3c533bac4d7f9a9fa180b687cf4c8f12500b957d3d8a9080e410f2f
  /usr/local/share/doc/libtre/tre-api.html: 5e76cce0a90791da1771c8427b4a31b749061f45851ff01dc8e85aac07799330
  /usr/local/share/doc/libtre/tre-syntax.html: 7d1d09e9c3514a5b04742e9898c2314693ecd05fcbd55719877ea289cbbd3676
  /usr/local/share/licenses/libtre-0.8.0_1/BSD: 6a50ab50d856b30c965cf2dd899e577ec108c938242fd3a2e7a7a25eed996200
  /usr/local/share/licenses/libtre-0.8.0_1/LICENSE: d9cce0db43502eb1bd8fbef7e960cfaa43b5647186f7f7379923b336209fd77b
  /usr/local/share/licenses/libtre-0.8.0_1/catalog.mk: ca136b49ce82cf8ddeb0d832454601970bc8bff28825a73d599c529701a7e787
  /usr/local/share/locale/fi/LC_MESSAGES/tre.mo: 5375e6eb82bc622eca5912b19d61c64b14a6cc470f0cca735ecb1222967a4277
  /usr/local/share/locale/sv/LC_MESSAGES/tre.mo: 3b18735aaec4e265d47873de4f70278ce36b2a32ed833f43c380fe725dc0df50
directories:
  /usr/local/share/licenses/libtre-0.8.0_1/: n
  /usr/local/share/licenses/: y
  /usr/local/share/doc/libtre/: n
  /usr/local/include/tre/: n
scripts:
  post-install: |
    /sbin/ldconfig -m /usr/local/lib
    cd /usr/local
  pre-deinstall: |
    /sbin/ldconfig -R
    cd /usr/local
  post-deinstall: |
    cd /usr/local
