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.10 |
---|
7 | categories devel |
---|
8 | maintainers clubjuggler@gmail.com openmaintainer |
---|
9 | description Fastest and smallest desktop searching program |
---|
10 | 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. |
---|
11 | platforms darwin |
---|
12 | homepage http://strigi.sourceforge.net/ |
---|
13 | master_sites sourceforge |
---|
14 | use_bzip2 yes |
---|
15 | distname strigi-${version} |
---|
16 | patchfiles strigi-fix-check-gcc-visibility-macro-ccache.patch |
---|
17 | patch.pre_args -p1 |
---|
18 | |
---|
19 | depends_build port:cmake |
---|
20 | depends_lib port:clucene port:dbus |
---|
21 | |
---|
22 | checksums ${distname}.tar.bz2 md5 cfaa2114ea27f2a00e6773c374e98ec4 |
---|
23 | |
---|
24 | # Best practice for CMake dictates that builds should be out of source. |
---|
25 | # However, it appears that strigi uses java to create source files and |
---|
26 | # they don't get put in the right place if you're doing an out of source |
---|
27 | # build, so for now this is an in-source build. That does, however, simplify |
---|
28 | # things because the build and destroot phases can be left at the default |
---|
29 | # values. |
---|
30 | # Let's try to use as much as possible and just override the |
---|
31 | # configure.cmd and configure.pre_args (setting the prefix) |
---|
32 | configure.pre_args -DCMAKE_INSTALL_PREFIX=${prefix} |
---|
33 | configure.cmd cmake |
---|
34 | |
---|
35 | post-destroot { |
---|
36 | xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} |
---|
37 | xinstall -m 644 -W ${worksrcpath} COPYING README AUTHORS ChangeLog TODO ${destroot}${prefix}/share/doc/${name} |
---|
38 | } |
---|