1 | # $Id: Portfile 55989 2009-08-22 21:44:41Z jmr@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup cmake 1.0 |
---|
5 | |
---|
6 | name strigi |
---|
7 | version 0.6.4 |
---|
8 | categories devel |
---|
9 | maintainers gmail.com:clubjuggler openmaintainer |
---|
10 | description Fastest and smallest desktop searching program |
---|
11 | long_description Strigi is a daemon which uses a very fast and efficient crawler that can index data on your harddrive. Indexing operations are performed without hammering your system, this makes Strigi the fastest and smallest desktop searching program. Strigi can index different file formats, including the contents of the archive files. |
---|
12 | platforms darwin |
---|
13 | homepage http://strigi.sourceforge.net/ |
---|
14 | master_sites sourceforge |
---|
15 | |
---|
16 | checksums md5 324fd9606ac77765501717ff92c04f9a \ |
---|
17 | sha1 e91f31cc59fdfc303b662a8af899efe1365643bf \ |
---|
18 | rmd160 4b72de166b077778caa2b3ff31c2168a62155bd1 |
---|
19 | |
---|
20 | use_bzip2 yes |
---|
21 | patchfiles patch-MacroCheckGccVisibility.cmake.diff |
---|
22 | #patch.pre_args -p1 |
---|
23 | |
---|
24 | depends_lib port:bzip2 \ |
---|
25 | port:clucene \ |
---|
26 | port:dbus \ |
---|
27 | port:libxml2 \ |
---|
28 | port:zlib |
---|
29 | |
---|
30 | use_parallel_build no |
---|
31 | |
---|
32 | configure.args-append -DICONV_INCLUDE_DIR:PATH=${prefix}/include \ |
---|
33 | -DICONV_LIBRARIES:FILEPATH=${prefix}/lib/libiconv.dylib \ |
---|
34 | -DLIBXML2_INCLUDE_DIR:PATH=${prefix}/include/libxml2 \ |
---|
35 | -DLIBXML2_LIBRARIES:FILEPATH=${prefix}/lib/libxml2.dylib |
---|
36 | |
---|
37 | # Best practice for CMake dictates that builds should be out of source. |
---|
38 | # However, it appears that strigi uses java to create source files and |
---|
39 | # they don't get put in the right place if you're doing an out of source |
---|
40 | # build, so for now this is an in-source build. That does, however, simplify |
---|
41 | # things because the build and destroot phases can be left at the default |
---|
42 | # values. |
---|
43 | |
---|
44 | post-destroot { |
---|
45 | xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} |
---|
46 | xinstall -m 644 -W ${worksrcpath} COPYING README AUTHORS ChangeLog TODO ${destroot}${prefix}/share/doc/${name} |
---|
47 | } |
---|
48 | |
---|
49 | platform darwin 10 { |
---|
50 | patchfiles-append patch-dbusmessagereader.cpp.diff \ |
---|
51 | patch-dbusclientinterface.cpp.diff |
---|
52 | } |
---|