source: trunk/dports/kde/kdepimlibs4/Portfile @ 42545

Last change on this file since 42545 was 42545, checked in by illogic-al@…, 11 years ago

Massive dump of new portfiles. As much of KDE4 as I could compile.
kdepim4 is noticeably missing. it doesn't compile cleanly.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 42545 2008-11-24 02:24:37Z illogic-al@macports.org $
2
3PortSystem          1.0
4name                kdepimlibs4
5version             4.1.3
6revision            1
7categories          kde kde4
8maintainers         illogic-al@macports.org openmaintainer
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:automoc
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_BUILD_WITH_INSTALL_RPATH=ON \
39                -DPHONON_INCLUDE_DIR=${prefix}/include \
40                -DPHONON_LIBRARY=${prefix}/lib/libphonon.dylib \
41        -DCMAKE_OSX_SYSROOT=${sysroot} \
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}
48
49variant debug description "Enable debug binaries" {
50        configure.args-delete           -DCMAKE_BUILD_TYPE=Release
51        configure.args-append           -DCMAKE_BUILD_TYPE=debugFull
52
53}
Note: See TracBrowser for help on using the repository browser.