1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name kdebase4 |
---|
5 | version 4.1.2 |
---|
6 | revision 1 |
---|
7 | categories kde4 |
---|
8 | maintainers nomaintainer |
---|
9 | description KDE4 applications and libraries from the base package |
---|
10 | long_description Kdebase applications and libraries |
---|
11 | homepage http://www.kde.org |
---|
12 | platforms darwin |
---|
13 | master_sites http://anonsvn.kde.org/ |
---|
14 | distname kdebase |
---|
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:kdepimlibs4 \ |
---|
21 | port:qimageblitz |
---|
22 | #samba xkb |
---|
23 | depends_build port:cmake \ |
---|
24 | port:automoc4 |
---|
25 | |
---|
26 | use_parallel_build yes |
---|
27 | |
---|
28 | worksrcdir build |
---|
29 | |
---|
30 | pre-configure { file mkdir ${worksrcpath} } |
---|
31 | |
---|
32 | configure.cmd cmake |
---|
33 | |
---|
34 | configure.args ../${distname} -DBUILD_SHARED_LIBS:BOOL=ON \ |
---|
35 | -DCMAKE_VERBOSE_MAKEFILE=ON \ |
---|
36 | -DCMAKE_BUILD_TYPE=Release \ |
---|
37 | -DCMAKE_SYSTEM_PREFIX_PATH=\"/opt/local\;/usr\" \ |
---|
38 | -DCMAKE_INSTALL_PREFIX=${prefix} \ |
---|
39 | -DCMAKE_INSTALL_NAME_DIR=${prefix}/lib/ \ |
---|
40 | -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \ |
---|
41 | -DPHONON_INCLUDE_DIR=${prefix}/include \ |
---|
42 | -DPHONON_LIBRARY=${prefix}/lib/libphonon.dylib \ |
---|
43 | -Wno-dev |
---|
44 | |
---|
45 | variant 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 | #-fasm-blocks |
---|
49 | } |
---|
50 | |
---|
51 | variant debug description "Enable debug binaries" { |
---|
52 | configure.args-delete -DCMAKE_BUILD_TYPE=Release |
---|
53 | configure.args-append -DCMAKE_BUILD_TYPE=debugFull |
---|
54 | |
---|
55 | } |
---|
56 | |
---|
57 | variant xine description "enable phonon_xine engine" { |
---|
58 | depends_build port:xine-lib |
---|
59 | } |
---|
60 | |
---|