# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 87596 2011-11-28 02:26:51Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           app 1.0

name                recoll
version             1.16.2
categories          textproc
platforms           darwin
license             GPL-2+
maintainers         dockes.org:jf openmaintainer

description         Desktop full text search

long_description    Recoll is a desktop search tool based on Xapian

homepage            http://www.recoll.org/
master_sites        ${homepage}

checksums           sha1    40c18a958eeecbb70cbdf14fa7319b54525537fa \
                    rmd160  fb598b9c637cab49734547a41f2e8ec232f89dbe

depends_lib         port:xapian-core \
                    port:qt4-mac \
                    port:aspell \
                    port:libiconv \
                    port:zlib

depends_run         port:antiword \
                    port:catdoc \
                    port:libxslt \
                    port:poppler \
                    port:unrtf \
                    port:unzip

patchfiles          patch-configure.diff \
                    patch-sampleconf-mimeview.diff

configure.args      --without-x \
                    --disable-x11mon

build.args          CC=${configure.cc} CXX=${configure.cxx}

# g++-4.2: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags
universal_variant   no
