Ticket #16131: Portfile.9

File Portfile.9, 1.6 KB (added by illogical1@…, 16 years ago)

Akonadi (kdepimlibs, kdepim requirement)

Line 
1# $Id$
2
3PortSystem          1.0
4
5name                akonadi
6version             1.0-svn
7revision            851286
8categories          kde4
9maintainers         nomaintainer
10description         The PIM Storage Service
11long_description    Akonadi is an extensible cross-desktop storage service for PIM data and metadata \
12providing concurrent read, write, and query access.
13homepage            http://pim.kde.org/akonadi/
14platforms           darwin
15master_sites            http://download.akonadi-project.org/
16distname            ${version}
17
18fetch.type          svn
19svn.url             svn://anonsvn.kde.org/home/kde/branches/${name}/${version}
20
21depends_lib         port:qt4-mac \
22                                        port:boost
23# boost depend might be unnecessary, check when anonsvn is back up. port -d
24depends_build       port:cmake \
25                                        port:automoc4
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                -Wno-dev
43
44variant universal description "Compile for ppc and intel architectures" {
45    configure.universal_args-delete  --disable-dependency-tracking
46    configure.args-append       -DCMAKE_OSX_ARCHITECTURES=\"ppc\;i386\"
47}
48
49variant debug description "Enable debug binaries" {
50        configure.args-delete           -DCMAKE_BUILD_TYPE=Release
51        configure.args-append           -DCMAKE_BUILD_TYPE=debugFull
52
53}