# -*- 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 96038 2012-07-30 02:14:11Z dports@macports.org $

PortSystem          1.0
PortGroup           app 1.0

name                recoll
version             1.17.2
revision        1
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  be6752c9a36cd9708ab49bbf1eba445f0eb8f623 \
                    sha256  8fa0419ca78bdeca4a18e36d252a9e8254112653499c47b407b178c9f2e58a2a

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
