source: trunk/dports/devel/strigi/Portfile

Last change on this file was 148825, checked in by devans@…, 14 months ago

dependents of ffmpeg: increment revision to rebuild with ffmpeg version 3.0.2. (#50694).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 148825 2016-05-19 16:38:55Z ryandesign@macports.org $
3
4PortSystem  1.0
5PortGroup       kde4 1.1
6
7name            strigi
8version         0.7.8
9revision        6
10categories      devel
11maintainers     nomaintainer
12license         LGPL-2+
13
14description     Fastest and smallest desktop searching program
15long_description \
16    Strigi is a daemon which uses a very fast and efficient crawler that can \
17    index data on your harddrive. Indexing operations are performed without \
18    hammering your system, this makes Strigi the fastest and smallest desktop \
19    searching program. Strigi can index different file formats, including the \
20    contents of the archive files.
21
22platforms       darwin
23
24homepage        http://www.vandenoever.info/software/strigi/
25master_sites    ${homepage}
26use_bzip2       yes
27
28depends_lib-append \
29                port:bzip2 \
30                port:clucene \
31                path:bin/dbus-daemon:dbus \
32                port:exiv2 \
33                port:libxml2 \
34                path:lib/libavcodec.dylib:ffmpeg \
35                port:zlib \
36                port:boost
37
38checksums       rmd160  34cbbe98e7a371467b115b18586baf299340d1b8 \
39                sha256  43e461a625acdefa59bf58cc9d10aebda9eba920dfbe800fc77e6dcbf1eff989
40
41patchfiles      patch-libstreamanalyzer-plugins-endplugins-ffmpegendanalyzer.cpp.diff \
42                patch-strigidaemon-bin-daemon-xesam-xesamsearch.h.diff
43
44configure.args-append   -DICONV_INCLUDE_DIR:PATH=${prefix}/include \
45                        -DLOG4CXX_INCLUDE_DIR=${prefix}/include/log4cxx \
46                        -DICONV_LIBRARIES:FILEPATH=${prefix}/lib/libiconv.dylib
47
48# Best practice for CMake dictates that builds should be out of source.
49# However, it appears that strigi uses java to create source files and
50# they don't get put in the right place if you're doing an out of source
51# build, so for now this is an in-source build. That does, however, simplify
52# things because the build and destroot phases can be left at the default
53# values.
54
55post-destroot {
56    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
57    xinstall -m 644 -W ${worksrcpath} COPYING AUTHORS ChangeLog ${destroot}${prefix}/share/doc/${name}
58}
59
60livecheck.type  regex
61livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.