1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name kdelibs4 |
---|
5 | version 4.1.2 |
---|
6 | revision 1 |
---|
7 | categories kde4 |
---|
8 | maintainers nomaintainer |
---|
9 | description KDE4 core libraries |
---|
10 | long_description Core libraries for KDE4 applications to function |
---|
11 | homepage http://www.kde.org |
---|
12 | platforms darwin |
---|
13 | master_sites http://anonsvn.kde.org/ |
---|
14 | distname kdelibs |
---|
15 | |
---|
16 | fetch.type svn |
---|
17 | svn.url svn://anonsvn.kde.org/home/kde/tags/KDE/${version}/${distname} |
---|
18 | |
---|
19 | depends_lib port:qt4-mac \ |
---|
20 | port:strigi \ |
---|
21 | port:phonon |
---|
22 | |
---|
23 | depends_build port:cmake \ |
---|
24 | port:automoc4 |
---|
25 | # fam hspell avahi |
---|
26 | |
---|
27 | use_parallel_build yes |
---|
28 | |
---|
29 | worksrcdir build |
---|
30 | pre-configure { file mkdir ${worksrcpath} } |
---|
31 | configure.cmd cmake |
---|
32 | configure.args ../${distname} -DBUILD_SHARED_LIBS:BOOL=ON \ |
---|
33 | -DCMAKE_VERBOSE_MAKEFILE=ON \ |
---|
34 | -DCMAKE_BUILD_TYPE=Release \ |
---|
35 | -DCMAKE_SYSTEM_PREFIX_PATH=\"/opt/local\;/usr\" \ |
---|
36 | -DCMAKE_INSTALL_PREFIX=${prefix} \ |
---|
37 | -DCMAKE_INSTALL_NAME_DIR=${prefix}/lib/ \ |
---|
38 | -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \ |
---|
39 | -DPHONON_INCLUDE_DIR=${prefix}/include \ |
---|
40 | -DPHONON_LIBRARY=${prefix}/lib/libphonon.dylib \ |
---|
41 | -Wno-dev |
---|
42 | |
---|
43 | variant universal description "Compile for ppc and intel architectures" { |
---|
44 | configure.universal_args-delete --disable-dependency-tracking |
---|
45 | configure.args-append -DCMAKE_OSX_ARCHITECTURES=\"ppc\;i386\" |
---|
46 | } |
---|
47 | |
---|
48 | variant debug description "Enable debug binaries" { |
---|
49 | configure.args-delete -DCMAKE_BUILD_TYPE=Release |
---|
50 | configure.args-append -DCMAKE_BUILD_TYPE=debugFull |
---|
51 | |
---|
52 | } |
---|
53 | |
---|
54 | variant soprano description "When Soprano and nepomuk work we'll give a damn" { |
---|
55 | depends_lib port:soprano |
---|
56 | } |
---|