Ticket #15344: Portfile

File Portfile, 1.8 KB (added by clubjuggler@…, 16 years ago)

Portfile of Strigi 0.5.7

Line 
1# $Id:$
2
3PortSystem 1.0
4name            strigi
5version         0.5.7
6revision        1
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:strigi
14use_bzip2       yes
15distname        strigi-${version}
16patchfiles      strigi-fix-check-gcc-visibility-macro-ccache.patch
17patch.pre_args  -p1
18
19depends_build   port:cmake port:clucene port:dbus
20depends_lib     port:clucene port:dbus
21
22checksums       ${distname}.tar.bz2 md5 01015166eb49a523219d3b1d7e46b672
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}
39
40
41platform darwin 9 {}
42
43platform darwin 8 {}
44
45platform darwin 7 {}
46
47platform darwin 6 {
48                pre-fetch {
49                          return -code error "Sorry, your platform is no longer supported."
50                }
51}
52