Ticket #16131: Portfile.12

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

kdebase

Line 
1# $Id$
2
3PortSystem          1.0
4name             kdebase4
5version          4.1.2
6revision         1
7categories       kde4
8maintainers      nomaintainer
9description      KDE4 applications and libraries from the base package
10long_description Kdebase applications and libraries
11homepage         http://www.kde.org
12platforms               darwin
13master_sites    http://anonsvn.kde.org/
14distname        kdebase
15
16fetch.type      svn
17svn.url         svn://anonsvn.kde.org/home/kde/tags/KDE/${version}/${distname}
18
19depends_lib     port:kdelibs4 \
20                port:kdepimlibs4 \
21                port:qimageblitz
22#samba xkb
23depends_build   port:cmake \
24                port:automoc4
25
26use_parallel_build  yes
27
28worksrcdir      build
29
30pre-configure { file mkdir ${worksrcpath} }
31
32configure.cmd           cmake
33
34configure.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
45variant 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
51variant debug description "Enable debug binaries" {
52        configure.args-delete           -DCMAKE_BUILD_TYPE=Release
53        configure.args-append           -DCMAKE_BUILD_TYPE=debugFull
54
55}
56
57variant xine description "enable phonon_xine engine" {
58        depends_build       port:xine-lib
59}
60