source: trunk/dports/devel/clucene/Portfile

Last change on this file was 112901, checked in by ryandesign@…, 4 years ago

clucene: add zlib dependency; revbump because r112875 changed files that get installed; add build conflict with self to prevent upgrade failures (#40899)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# -*- 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
2# $Id: Portfile 112901 2013-11-03 19:02:08Z ryandesign@macports.org $
3
4PortSystem 1.0
5PortGroup               cmake 1.0
6PortGroup               conflicts_build 1.0
7PortGroup               muniversal 1.0
8
9name                    clucene
10version                 2.3.3.4
11revision                1
12set branch              [join [lrange [split ${version} .] 0 1] .]
13categories              devel
14platforms               darwin
15maintainers             free.fr:dinh.viet.hoa openmaintainer
16license                 {Apache-2 LGPL}
17description             Clucene is a C++ port of Lucene: the high-performance, \
18                        full-featured text search engine written in Java.
19long_description        ${description}
20
21distname                ${name}-core-${version}
22homepage                http://clucene.sourceforge.net/
23master_sites            sourceforge:project/clucene/clucene-core-unstable/${branch}
24
25checksums               rmd160  5acfc9c8acd167b3684cfc731a60fd9c5465cc9b \
26                        sha256  ddfdc433dd8ad31b5c5819cc4404a8d2127472a3b720d3e744e8c51d79732eab
27
28depends_lib             port:zlib
29
30patch.pre_args          -p1
31# Patch corrects a problem when linking applications using clucene because
32# the .pc file is missing clucene-shared library.
33# http://sourceforge.net/tracker/?func=detail&aid=3461512&group_id=80013&atid=558446
34patchfiles              0001-Fix-.pc-file-by-adding-clucene-shared-library.patch
35
36patchfiles-append       patch-src-shared-CLucene-LuceneThreads.h.diff \
37                        patch-src-shared-CLucene-config-repl_tchar.h.diff
38
39conflicts_build         ${name}
40
41livecheck.regex "${name}-core-(\\d+\.\\d+\.\\d+\[a-z\]*)${extract.suffix}"
42
Note: See TracBrowser for help on using the repository browser.