-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
Portfile
40 lines (31 loc) · 1.7 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# -*- 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 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-(\[0-9.\]+)${extract.suffix}