# -*- 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 111989 2013-10-08 17:10:55Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           app 1.0

name                recoll
version             1.19.11p1
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           rmd160  de98039d80174a5da6e3cdbcc8b7bc0f4407e44a \
                    sha256  8d1d040b8de1f65f01bc0a56053a6df7677360031bf9a6779d3496ced4a61186

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-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
