Ticket #16131: Portfile.11

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

kdelibs

Line 
1# $Id$
2
3PortSystem          1.0
4name                kdelibs4
5version             4.1.2
6revision            1
7categories          kde4
8maintainers         nomaintainer
9description         KDE4 core libraries
10long_description    Core libraries for KDE4 applications to function
11homepage            http://www.kde.org
12platforms           darwin
13master_sites            http://anonsvn.kde.org/
14distname            kdelibs
15
16fetch.type          svn
17svn.url             svn://anonsvn.kde.org/home/kde/tags/KDE/${version}/${distname}
18
19depends_lib         port:qt4-mac \
20                    port:strigi \
21                    port:phonon
22
23depends_build       port:cmake \
24                    port:automoc4
25# fam hspell avahi
26
27use_parallel_build      yes
28
29worksrcdir      build
30pre-configure { file mkdir ${worksrcpath} }
31configure.cmd           cmake
32configure.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
43variant 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
48variant debug description "Enable debug binaries" {
49        configure.args-delete           -DCMAKE_BUILD_TYPE=Release
50        configure.args-append           -DCMAKE_BUILD_TYPE=debugFull
51
52}
53
54variant soprano description "When Soprano and nepomuk work we'll give a damn" {
55depends_lib             port:soprano
56}