Ticket #16131: Portfile

File Portfile, 1.7 KB (added by iggy@…, 16 years ago)

update strigi to 0.5.10 (latest version as of 20080601) - kdelibs needs at least this version

Line 
1# $Id: Portfile 37929 2008-06-29 22:28:34Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            strigi
6version         0.5.10
7categories      devel
8maintainers     clubjuggler@gmail.com openmaintainer
9description     Fastest and smallest desktop searching program
10long_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.
11platforms       darwin
12homepage        http://strigi.sourceforge.net/
13master_sites    sourceforge
14use_bzip2       yes
15distname        strigi-${version}
16patchfiles      strigi-fix-check-gcc-visibility-macro-ccache.patch
17patch.pre_args  -p1
18
19depends_build   port:cmake
20depends_lib     port:clucene port:dbus
21
22checksums       ${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)
32configure.pre_args  -DCMAKE_INSTALL_PREFIX=${prefix}
33configure.cmd   cmake
34
35post-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}