Ticket #16131: Portfile.8

File Portfile.8, 1.8 KB (added by illogical1@…, 16 years ago)

Strigi (kdelibs requirement)

Line 
1# $Id: Portfile 37929 2008-06-29 22:28:34Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name             strigi
6version          0.5
7revision         854542-svn
8categories       devel
9maintainers          clubjuggler@gmail.com openmaintainer
10description          Fastest and smallest desktop searching program
11long_description Strigi is a daemon which uses a very fast and efficient crawler \
12                 that can index data on your harddrive. Indexing operations are \
13                 performed without hammering your system, this makes Strigi the \
14                 fastest and smallest desktop searching program. Strigi can index \
15                 different file formats, including the contents of the archive files.
16platforms            darwin
17homepage             http://strigi.sourceforge.net/
18master_sites     sourceforge
19distname         0.5
20
21fetch.type          svn
22svn.url             svn://anonsvn.kde.org/home/kde/branches/${name}/${version}
23
24depends_build   port:cmake
25depends_lib     port:clucene port:dbus port:expat
26
27use_parallel_build  yes
28
29worksrcdir              build
30
31configure.cmd           cmake
32
33pre-configure { file mkdir ${worksrcpath} }
34
35configure.args      ../${distname} -DBUILD_SHARED_LIBS:BOOL=ON \
36                -DCMAKE_VERBOSE_MAKEFILE=ON \
37                -DCMAKE_BUILD_TYPE=Release \
38                -DCMAKE_SYSTEM_PREFIX_PATH=\"/opt/local\;/usr\" \
39                -DCMAKE_INSTALL_PREFIX=${prefix} \
40                -DCMAKE_INSTALL_NAME_DIR=${prefix}/lib/ \
41                -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \
42                -DENABLE_EXPAT:BOOL=ON \
43                -Wno-dev
44
45variant universal description "Compile for ppc and intel architectures" {
46    configure.universal_args-delete  --disable-dependency-tracking
47    configure.args-append       -DCMAKE_OSX_ARCHITECTURES=\"ppc\;i386\"
48}
49
50variant debug description "Enable debug binaries" {
51        configure.args-delete           -DCMAKE_BUILD_TYPE=Release
52        configure.args-append           -DCMAKE_BUILD_TYPE=debugFull
53
54}