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

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

Update portfiles to a) use ${prefix} b) use distfiles and checksums c) look prettier

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
RevLine 
[42545]1# $Id: Portfile 42616 2008-11-26 21:10:42Z illogic-al@macports.org $
2
3PortSystem          1.0
[42616]4
[42545]5name                kdepimlibs4
6version             4.1.3
7revision            1
8categories          kde kde4
9maintainers         illogic-al@macports.org openmaintainer
10description         KDE4 core PIM libraries
11long_description    Core libraries necessary for Personal Information Management (PIM) in KDE4
[42616]12platforms           darwin
[42545]13homepage            http://www.kde.org
[42616]14master_sites        http://ftp.kde.org/stable/${version}/src/
15use_bzip2           yes
16distname            kdepimlibs-${version}
17distfiles           ${distname}.tar.bz2
18checksums           md5 e6db27f7074d31cdad26fb705ece2825
[42545]19
20depends_lib         port:kdelibs4 \
21                    port:akonadi
22
23depends_build       port:cmake \
24                    port:automoc
25
26use_parallel_build  yes
[42616]27worksrcdir          build
28pre-configure       { file mkdir ${worksrcpath} }
[42545]29
[42616]30configure.cmd       cmake
31configure.ccache    no
32configure.args  ../${distname} -DBUILD_SHARED_LIBS=ON \
[42545]33                -DCMAKE_VERBOSE_MAKEFILE=ON \
34                -DCMAKE_BUILD_TYPE=Release \
[42616]35                -DCMAKE_SYSTEM_PREFIX_PATH=\"${prefix}\;/usr\" \
[42545]36                -DCMAKE_INSTALL_PREFIX=${prefix} \
37                -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \
38                -DPHONON_INCLUDE_DIR=${prefix}/include \
39                -DPHONON_LIBRARY=${prefix}/lib/libphonon.dylib \
[42616]40                -DCMAKE_OSX_SYSROOT=${sysroot} \
41                -Wno-dev
[42545]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" {
[42616]49        configure.args-delete           -DCMAKE_BUILD_TYPE=Release
50        configure.args-append           -DCMAKE_BUILD_TYPE=debugFull
[42545]51}
Note: See TracBrowser for help on using the repository browser.