# -*- 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 cmake 1.0 PortGroup conflicts_build 1.0 PortGroup muniversal 1.0 name clucene version 2.3.3.4 revision 1 set branch [join [lrange [split ${version} .] 0 1] .] categories devel platforms darwin maintainers free.fr:dinh.viet.hoa openmaintainer license {Apache-2 LGPL} description Clucene is a C++ port of Lucene: the high-performance, \ full-featured text search engine written in Java. long_description ${description} distname ${name}-core-${version} homepage http://clucene.sourceforge.net/ master_sites sourceforge:project/clucene/clucene-core-unstable/${branch} checksums rmd160 5acfc9c8acd167b3684cfc731a60fd9c5465cc9b \ sha256 ddfdc433dd8ad31b5c5819cc4404a8d2127472a3b720d3e744e8c51d79732eab depends_lib port:zlib patch.pre_args -p1 # Patch corrects a problem when linking applications using clucene because # the .pc file is missing clucene-shared library. # http://sourceforge.net/tracker/?func=detail&aid=3461512&group_id=80013&atid=558446 patchfiles 0001-Fix-.pc-file-by-adding-clucene-shared-library.patch patchfiles-append patch-src-shared-CLucene-LuceneThreads.h.diff \ patch-src-shared-CLucene-config-repl_tchar.h.diff conflicts_build ${name} livecheck.regex "${name}-core-(\\d+\.\\d+\.\\d+\[a-z\]*)${extract.suffix}"