Parent: [9bdaa7] (diff)

Child: [93cba5] (diff)

Download this file

Portfile    58 lines (44 with data), 1.9 kB

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

PortSystem          1.0
PortGroup           app 1.0

name                recoll
version             1.24.3
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  2518c8ce8cf5661985283c153c20b1caec9e5860 \
                    sha256  f1552961dd0cfd1a12d95fab1bf4990846df2085ddeaa5e832442bbce35acad2 \
                    size 2675171

depends_lib         port:xapian-core \
                    port:qt5 \
                    port:qt5-qtwebkit \
                    port:aspell \
                    port:libiconv \
                    port:zlib

depends_run         port:antiword \
                    port:py27-libxml2 \
                    port:py27-libxslt \
                    port:poppler \
                    port:unrtf \
                    port:unzip

patchfiles          patch-sampleconf-mimeview.diff \
    patch-mkin-no-no-undefined.diff \
    patch-rclaspell-dylib.diff \
    patch-netcon-traces.diff \
    patch-py2-to-27.diff

# Note: this is probably not the right way to configure QMAKE
configure.args      QMAKE=${prefix}/libexec/qt5/bin/qmake \
                    --without-x \
                    --disable-x11mon \
                    --disable-python-module

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

pre-destroot {
    xinstall -m 755 ${worksrcpath}/qtgui/recoll.app/Contents/MacOS/recoll ${destroot}${prefix}/bin/${name}
}

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