source: trunk/dports/devel/clucene-devel/Portfile @ 62373

Last change on this file since 62373 was 62373, checked in by nox@…, 10 years ago

Create new port clucene-devel

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 62373 2010-01-05 16:59:29Z nox@macports.org $
2
3PortSystem      1.0
4PortGroup       archcheck 1.0
5PortGroup       cmake 1.0
6
7name            clucene-devel
8set my_name     clucene
9conflicts       clucene
10version         3025
11license         Apache-2 LGPL-2.1
12categories      devel
13platforms       darwin
14maintainers     nox openmaintainer
15description     the open-source, C++ search engine
16
17long_description \
18    CLucene is a high-performance, scalable, cross platform, full-featured, \
19    open-source indexing and searching API. Specifically, CLucene is the guts \
20    of a search engine, the hard stuff. You write the easy stuff: the UI and \
21    the process of selecting and parsing your data files to pump them into the \
22    search engine yourself, and any specialized queries to pull it back for \
23    display or further processing.
24
25homepage        http://clucene.sourceforge.net/
26fetch.type      svn
27svn.url         https://clucene.svn.sourceforge.net/svnroot/clucene/branches/lucene2_3_2
28svn.revision    ${version}
29
30worksrcdir      [file tail ${svn.url}]
31
32post-patch {
33    reinplace \
34        s/(int32_t)(_LUCENE_CURRTHREADID)/(int64_t)(_LUCENE_CURRTHREADID)/ \
35        ${worksrcpath}/src/core/CLucene/index/IndexFileDeleter.cpp \
36        ${worksrcpath}/src/core/CLucene/index/IndexWriter.cpp
37}
38
39depends_lib     port:zlib
40
41archcheck.files lib/libz.dylib
42
43universal_variant no
44
45livecheck.type  regex
46livecheck.url   ${svn.url}
47livecheck.regex {Revision (\d+):}
Note: See TracBrowser for help on using the repository browser.