1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name akonadi |
---|
6 | version 1.0-svn |
---|
7 | revision 851286 |
---|
8 | categories kde4 |
---|
9 | maintainers nomaintainer |
---|
10 | description The PIM Storage Service |
---|
11 | long_description Akonadi is an extensible cross-desktop storage service for PIM data and metadata \ |
---|
12 | providing concurrent read, write, and query access. |
---|
13 | homepage http://pim.kde.org/akonadi/ |
---|
14 | platforms darwin |
---|
15 | master_sites http://download.akonadi-project.org/ |
---|
16 | distname ${version} |
---|
17 | |
---|
18 | fetch.type svn |
---|
19 | svn.url svn://anonsvn.kde.org/home/kde/branches/${name}/${version} |
---|
20 | |
---|
21 | depends_lib port:qt4-mac \ |
---|
22 | port:boost |
---|
23 | # boost depend might be unnecessary, check when anonsvn is back up. port -d |
---|
24 | depends_build port:cmake \ |
---|
25 | port:automoc4 |
---|
26 | |
---|
27 | use_parallel_build yes |
---|
28 | |
---|
29 | worksrcdir build |
---|
30 | |
---|
31 | configure.cmd cmake |
---|
32 | |
---|
33 | pre-configure { file mkdir ${worksrcpath} } |
---|
34 | |
---|
35 | configure.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 | |
---|
44 | variant 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 | |
---|
49 | variant debug description "Enable debug binaries" { |
---|
50 | configure.args-delete -DCMAKE_BUILD_TYPE=Release |
---|
51 | configure.args-append -DCMAKE_BUILD_TYPE=debugFull |
---|
52 | |
---|
53 | } |
---|