1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name kdepimlibs4 |
---|
5 | version 4.1.2 |
---|
6 | revision 1 |
---|
7 | categories kde4 |
---|
8 | maintainers nomaintainer |
---|
9 | description KDE4 core PIM libraries |
---|
10 | long_description Core libraries necessary for Personal Information Management (PIM) in KDE4 |
---|
11 | homepage http://www.kde.org |
---|
12 | platforms darwin |
---|
13 | master_sites http://anonsvn.kde.org/ |
---|
14 | distname kdepimlibs |
---|
15 | |
---|
16 | fetch.type svn |
---|
17 | svn.url svn://anonsvn.kde.org/home/kde/tags/KDE/${version}/${distname} |
---|
18 | |
---|
19 | depends_lib port:kdelibs4 \ |
---|
20 | port:akonadi |
---|
21 | |
---|
22 | depends_build port:cmake \ |
---|
23 | port:automoc4 |
---|
24 | |
---|
25 | use_parallel_build yes |
---|
26 | |
---|
27 | worksrcdir build |
---|
28 | |
---|
29 | pre-configure { file mkdir ${worksrcpath} } |
---|
30 | |
---|
31 | configure.cmd cmake |
---|
32 | |
---|
33 | configure.args ../${distname} -DBUILD_SHARED_LIBS:BOOL=ON \ |
---|
34 | -DCMAKE_VERBOSE_MAKEFILE=ON \ |
---|
35 | -DCMAKE_BUILD_TYPE=Release \ |
---|
36 | -DCMAKE_SYSTEM_PREFIX_PATH=\"/opt/local\;/usr\" \ |
---|
37 | -DCMAKE_INSTALL_PREFIX=${prefix} \ |
---|
38 | -DCMAKE_INSTALL_NAME_DIR=${prefix}/lib/ \ |
---|
39 | -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \ |
---|
40 | -DPHONON_INCLUDE_DIR=${prefix}/include \ |
---|
41 | -DPHONON_LIBRARY=${prefix}/lib/libphonon.dylib \ |
---|
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 | #-fasm-blocks |
---|
48 | } |
---|
49 | |
---|
50 | variant debug description "Enable debug binaries" { |
---|
51 | configure.args-delete -DCMAKE_BUILD_TYPE=Release |
---|
52 | configure.args-append -DCMAKE_BUILD_TYPE=debugFull |
---|
53 | |
---|
54 | } |
---|