[42611] trunk/dports/kde/kdegraphics4/Portfile

illogic-al at macports.org illogic-al at macports.org
Wed Nov 26 08:51:40 PST 2008


Revision: 42611
          http://trac.macports.org/changeset/42611
Author:   illogic-al at macports.org
Date:     2008-11-26 08:51:39 -0800 (Wed, 26 Nov 2008)
Log Message:
-----------


Modified Paths:
--------------
    trunk/dports/kde/kdegraphics4/Portfile

Modified: trunk/dports/kde/kdegraphics4/Portfile
===================================================================
--- trunk/dports/kde/kdegraphics4/Portfile	2008-11-26 15:52:02 UTC (rev 42610)
+++ trunk/dports/kde/kdegraphics4/Portfile	2008-11-26 16:51:39 UTC (rev 42611)
@@ -1,6 +1,7 @@
 # $Id$
 
 PortSystem          1.0
+
 name                kdegraphics4
 version             4.1.3
 revision            1
@@ -8,32 +9,30 @@
 maintainers         illogic-al at macports.org openmaintainer
 description         KDE4 graphics applications
 long_description    KDE applications for managing and creating image files.
-homepage            http://www.kde.org
 platforms           darwin
-master_sites	    http://anonsvn.kde.org/
-distname            kdegraphics
+homepage            http://www.kde.org
+master_sites	    http://ftp.kde.org/stable/${version}/src/
+use_bzip2           yes
+distname            kdegraphics-${version}
+distfiles           ${distname}.tar.bz2
+checksums           md5 62513c5d92fae359705266eb2365c526
 
-fetch.type          svn 
-svn.url             svn://anonsvn.kde.org/home/kde/tags/KDE/${version}/${distname}
-
 depends_lib         port:qt4-mac port:kdebase4 \
                     port:exiv2 port:poppler \
                     port:djvulibre port:chmlib \
                     port:qca
-# Poppler needs to be installed with +quartz +qt4 variants 
+# Poppler needs to be installed with +quartz +qt4 variants
 # so this portfile needs to ensure enventually that this happens
 
 depends_build       port:cmake
 
 use_parallel_build  yes
+worksrcdir          build
+pre-configure       { file mkdir ${worksrcpath} }
 
-worksrcdir      build
-
-pre-configure { file mkdir ${worksrcpath} }
-
-configure.cmd	cmake
-
-configure.args	../${distname} -DBUILD_SHARED_LIBS:BOOL=ON \
+configure.cmd       cmake
+configure.ccache    no
+configure.args	../${distname} -DBUILD_SHARED_LIBS=ON \
 		-DCMAKE_VERBOSE_MAKEFILE=ON \
 		-DCMAKE_BUILD_TYPE=Release \
 		-DCMAKE_SYSTEM_PREFIX_PATH=\"${prefix}\;/usr\" \
@@ -41,10 +40,10 @@
 		-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \
 		-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 
+		-DQCA2_LIBRARIES=${prefix}/lib/libqca.2.dylib \
+		-DQCA2_INCLUDE_DIR=${prefix}/include/QtCrypto \
+		-DCMAKE_OSX_SYSROOT=${sysroot} \
+		-Wno-dev
 # Manually defining qca location forces building of Okular's
 # encrytped openoffice document viewer. Might not want to do that.
 
@@ -54,7 +53,7 @@
 }
 
 variant debug description "Enable debug binaries" {
-	configure.args-delete		-DCMAKE_BUILD_TYPE=Release 
-	configure.args-append		-DCMAKE_BUILD_TYPE=debugFull 
+	configure.args-delete		-DCMAKE_BUILD_TYPE=Release
+	configure.args-append		-DCMAKE_BUILD_TYPE=debugFull
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081126/c4b1cbcb/attachment.html>


More information about the macports-changes mailing list