1 | # $Id: Portfile 37929 2008-06-29 22:28:34Z ryandesign@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name strigi |
---|
6 | version 0.5 |
---|
7 | revision 854542-svn |
---|
8 | categories devel |
---|
9 | maintainers clubjuggler@gmail.com openmaintainer |
---|
10 | description Fastest and smallest desktop searching program |
---|
11 | long_description Strigi is a daemon which uses a very fast and efficient crawler \ |
---|
12 | that can index data on your harddrive. Indexing operations are \ |
---|
13 | performed without hammering your system, this makes Strigi the \ |
---|
14 | fastest and smallest desktop searching program. Strigi can index \ |
---|
15 | different file formats, including the contents of the archive files. |
---|
16 | platforms darwin |
---|
17 | homepage http://strigi.sourceforge.net/ |
---|
18 | master_sites sourceforge |
---|
19 | distname 0.5 |
---|
20 | |
---|
21 | fetch.type svn |
---|
22 | svn.url svn://anonsvn.kde.org/home/kde/branches/${name}/${version} |
---|
23 | |
---|
24 | depends_build port:cmake |
---|
25 | depends_lib port:clucene port:dbus port:expat |
---|
26 | |
---|
27 | use_parallel_build yes |
---|
28 | |
---|
29 | worksrcdir build |
---|
30 | |
---|
31 | configure.cmd cmake |
---|
32 | |
---|
33 | pre-configure { file mkdir ${worksrcpath} } |
---|
34 | |
---|
35 | configure.args ../${distname} -DBUILD_SHARED_LIBS:BOOL=ON \ |
---|
36 | -DCMAKE_VERBOSE_MAKEFILE=ON \ |
---|
37 | -DCMAKE_BUILD_TYPE=Release \ |
---|
38 | -DCMAKE_SYSTEM_PREFIX_PATH=\"/opt/local\;/usr\" \ |
---|
39 | -DCMAKE_INSTALL_PREFIX=${prefix} \ |
---|
40 | -DCMAKE_INSTALL_NAME_DIR=${prefix}/lib/ \ |
---|
41 | -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \ |
---|
42 | -DENABLE_EXPAT:BOOL=ON \ |
---|
43 | -Wno-dev |
---|
44 | |
---|
45 | variant universal description "Compile for ppc and intel architectures" { |
---|
46 | configure.universal_args-delete --disable-dependency-tracking |
---|
47 | configure.args-append -DCMAKE_OSX_ARCHITECTURES=\"ppc\;i386\" |
---|
48 | } |
---|
49 | |
---|
50 | variant debug description "Enable debug binaries" { |
---|
51 | configure.args-delete -DCMAKE_BUILD_TYPE=Release |
---|
52 | configure.args-append -DCMAKE_BUILD_TYPE=debugFull |
---|
53 | |
---|
54 | } |
---|