Ticket #16131: Portfile.14

File Portfile.14, 1.5 KB (added by illogical1@…, 16 years ago)

kdepimlibs

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