PortSystem 1.0

name                mairix
version             0.24
categories          mail
platforms           darwin
license             GPL-2
maintainers         {@enckse voidedtech.com:enckse} \
                    openmaintainer
description         Email index and search tool
long_description    mairix is a program for indexing and searching email \
                    messages stored in Maildir, MH or mbox folders.      \
                    Indexing is fast. It runs incrementally on new       \
                    messages - any particular message only gets scanned  \
                    once in the lifetime of the index file. The search   \
                    mode populates a "virtual" maildir (or MH) folder    \
                    with symlinks which point to the real messages. This \
                    folder can be opened as usual in your mail program.  \
                    The search mode is very fast. Indexing and searching \
                    works on the basis of words. The index file tabulates\
                    which words occur in which parts (particular headers \
                    + body) of which messages.
homepage            http://www.rc0.org.uk/mairix/
master_sites        sourceforge
checksums           rmd160  585fde437aa0e1fabee24ab11f884781d38c0251 \
                    sha256  a0702e079c768b6fbe25687ebcbabe7965eb493d269a105998c7c1c2caef4a57 \
                    size    206903
depends_lib         port:zlib port:bzip2

configure.args      --mandir=${prefix}/share/man \
                    --enable-gzip-mbox --enable-bzip-mbox

pre-destroot {
    file mkdir "${destroot}${prefix}/share/doc/${name}"
    xinstall -m 644 -v -W ${worksrcpath} ACKNOWLEDGEMENTS COPYING NEWS README \
      "${destroot}${prefix}/share/doc/${name}"
}
