# $Id: Portfile 37929 2008-06-29 22:28:34Z ryandesign@macports.org $ PortSystem 1.0 name strigi version 0.5.7 categories devel maintainers clubjuggler@gmail.com openmaintainer description Fastest and smallest desktop searching program 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. platforms darwin homepage http://strigi.sourceforge.net/ master_sites sourceforge use_bzip2 yes distname strigi-${version} patchfiles strigi-fix-check-gcc-visibility-macro-ccache.patch patch.pre_args -p1 depends_build port:cmake depends_lib port:clucene port:dbus checksums ${distname}.tar.bz2 md5 01015166eb49a523219d3b1d7e46b672 # Best practice for CMake dictates that builds should be out of source. # However, it appears that strigi uses java to create source files and # they don't get put in the right place if you're doing an out of source # build, so for now this is an in-source build. That does, however, simplify # things because the build and destroot phases can be left at the default # values. # Let's try to use as much as possible and just override the # configure.cmd and configure.pre_args (setting the prefix) configure.pre_args -DCMAKE_INSTALL_PREFIX=${prefix} configure.cmd cmake post-destroot { xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} xinstall -m 644 -W ${worksrcpath} COPYING README AUTHORS ChangeLog TODO ${destroot}${prefix}/share/doc/${name} }