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

PortSystem          1.0
PortGroup           github 1.0
PortGroup           cmake 1.0

github.setup        luceneplusplus LucenePlusPlus 3.0.7 rel_
revision            1
categories          devel
platforms           darwin
maintainers         nomaintainer
license             GPL-3+

description         High-performance, full-featured text search engine for C++

long_description    Lucene++ is an up to date C++ port of the popular Java Lucene library, \
                    a high-performance, full-featured text search engine.

checksums           rmd160  5e8f7df944d84bb88f06af4ad4a4ef9cd051c0ca \
                    sha256  48ff3b7c2a3dff5941144f04cb011b95dbcf164302139c38e05b087f321ea908

patchfiles          patch-boost-1.58.diff \
                    patch-pkgconfig-libdir.diff 
patch.pre_args      -p1

depends_lib-append  port:boost

cmake.out_of_source yes

# Avoid case-insensitive name clash of ${prefix}/include/term.h from ncurses
# with Term.h in this build by removing the default -I${prefix}/include argument.
# The build system will pick up CPATH instead.
configure.cppflags