Ticket #16131: Portfile.6

File Portfile.6, 1.3 KB (added by illogical1@…, 16 years ago)

Phonon (has a conflicting phonon.pc file w/ qt4-mac)

Line 
1# $Id$
2
3PortSystem          1.0
4
5name                phonon
6version             4.2
7revision            863771-svn
8categories          kde4
9maintainers         nomaintainer
10description         Cross Platform Multimedia API used by KDE4
11long_description    Cross Platform Multimedia API used by KDE4
12homepage            http://phonon.kde.org
13platforms           darwin
14master_sites            http://anonsvn.kde.org
15distname            4.2
16
17fetch.type          svn
18svn.url             svn://anonsvn.kde.org/home/kde/branches/${name}/${version}
19
20depends_lib         port:qt4-mac
21
22depends_build       port:cmake port:automoc4
23
24use_parallel_build      yes
25
26worksrcdir      build
27pre-configure   { file mkdir ${worksrcpath} }
28configure.cmd   cmake
29configure.args  ../${distname} -DBUILD_SHARED_LIBS:BOOL=ON \
30                -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
31                -DCMAKE_BUILD_TYPE:STRING=Release \
32                -DCMAKE_SYSTEM_PREFIX_PATH:STRING=\"/opt/local\;/usr\" \
33                -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \
34                -Wno-dev
35
36variant universal description "Compile for ppc and intel architectures" {
37    configure.universal_args-delete  --disable-dependency-tracking
38    configure.args-append       -DCMAKE_OSX_ARCHITECTURES=\"ppc\;i386\"
39}
40
41variant debug description "Enable debug binaries" {
42        configure.args-delete           -DCMAKE_BUILD_TYPE=Release
43        configure.args-append           -DCMAKE_BUILD_TYPE=debugFull
44
45}