[116854] trunk/dports/kde/kdepimlibs4/Portfile

nicos at macports.org nicos at macports.org
Sat Feb 8 08:39:34 PST 2014


Revision: 116854
          https://trac.macports.org/changeset/116854
Author:   nicos at macports.org
Date:     2014-02-08 08:39:34 -0800 (Sat, 08 Feb 2014)
Log Message:
-----------
kdepimlibs4: update to 4.12.2, add deactivate hack for moved application

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

Modified: trunk/dports/kde/kdepimlibs4/Portfile
===================================================================
--- trunk/dports/kde/kdepimlibs4/Portfile	2014-02-08 16:25:32 UTC (rev 116853)
+++ trunk/dports/kde/kdepimlibs4/Portfile	2014-02-08 16:39:34 UTC (rev 116854)
@@ -5,7 +5,7 @@
 PortGroup           kde4   1.1
 
 name                kdepimlibs4
-version             4.11.5
+version             4.12.2
 categories          kde kde4
 maintainers         nicos
 license             GPL-2+ LGPL-2+ BSD
@@ -17,8 +17,8 @@
 use_xz              yes
 distname            kdepimlibs-${version}
 
-checksums           rmd160  e54a9d207630579b9df05be098ab33dea8f13189 \
-                    sha256  64293079c9c1b3fdd8c41713e2b2332c34fd875b769a03fa8479946a3257c0a3
+checksums           rmd160  1b10f03459092be86a3de7516a8e3fa6f3e2ac6f \
+                    sha256  e475a40f8e00ce57d7acead85a4e33040cc50dc43962c7ae1b030ddbc4ae47e2
 
 #The only binaries linking to openssl (through QtNetwork) are libkimap.dylib
 #and libmailtransport.dylib, which are purely LPGL, thus not conflicting with
@@ -39,5 +39,16 @@
 
 configure.args-append   -DMAILTRANSPORT_INPROCESS_SMTP=Off
 
+pre-activate {
+    if {[file exists ${applications_dir}/KDE4/akonadi2xml.app/Contents/Info.plist]
+        && ![catch {set vers [lindex [registry_active kdepim4-runtime] 0]}] 
+        && [rpm-vercomp [lindex $vers 1] 4.12.0] < 0} {
+            ui_msg "Nicos: Deactivate port"
+            registry_deactivate_composite kdepim4-runtime "" [list ports_nodepcheck 1] 
+    } else {
+        ui_msg "Nicos: Not deactivating port"
+    } 
+}
+
 livecheck.url       http://kde.mirrors.hoobly.com/stable/
 livecheck.regex     (\\d+(\\.\\d+)+)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140208/11b7bf68/attachment.html>


More information about the macports-changes mailing list