# $Id: Portfile 42616 2008-11-26 21:10:42Z illogic-al@macports.org $ PortSystem 1.0 name kdenetwork4 version 4.1.3 revision 1 categories kde kde4 network maintainers illogic-al@macports.org openmaintainer description KDE4 networking applications long_description Networking applications such as an instant messenger \ and download manager platforms darwin homepage http://www.kde.org master_sites http://ftp.kde.org/stable/${version}/src use_bzip2 yes distname kdenetwork-${version} distfiles ${distname}.tar.bz2 checksums md5 0a560e1c117049735542a89692480679 depends_lib port:kdebase4 port:qca depends_build port:cmake use_parallel_build yes worksrcdir build pre-configure { file mkdir ${worksrcpath} } configure.cmd cmake configure.ccache no configure.args ../${distname} -DBUILD_SHARED_LIBS=ON \ -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \ -DCMAKE_VERBOSE_MAKEFILE=ON \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_SYSTEM_PREFIX_PATH=\"${prefix}\;/usr\" \ -DCMAKE_INSTALL_PREFIX=${prefix} \ -DCMAKE_INSTALL_NAME_DIR=${prefix}/lib/ \ -DPHONON_INCLUDE_DIR=${prefix}/include \ -DPHONON_LIBRARY=${prefix}/lib/libphonon.dylib \ -DQCA2_LIBRARIES=${prefix}/lib/libqca.2.dylib \ -DQCA2_INCLUDE_DIR=${prefix}/include/QtCrypto \ -DCMAKE_OSX_SYSROOT=${sysroot} \ -Wno-dev variant universal description "Compile for ppc and intel architectures" { configure.universal_args-delete --disable-dependency-tracking configure.args-append -DCMAKE_OSX_ARCHITECTURES=\"ppc\;i386\" } variant debug description "Enable debug binaries" { configure.args-delete -DCMAKE_BUILD_TYPE=Release configure.args-append -DCMAKE_BUILD_TYPE=debugFull }