[99723] trunk/dports/kde/nepomuk-core/Portfile

nicos at macports.org nicos at macports.org
Wed Nov 14 20:34:44 PST 2012


Revision: 99723
          https://trac.macports.org/changeset/99723
Author:   nicos at macports.org
Date:     2012-11-14 20:34:43 -0800 (Wed, 14 Nov 2012)
Log Message:
-----------
nepomuk-core: adding deactivate hack for conflicting files with kde4-runtime

Modified Paths:
--------------
    trunk/dports/kde/nepomuk-core/Portfile

Modified: trunk/dports/kde/nepomuk-core/Portfile
===================================================================
--- trunk/dports/kde/nepomuk-core/Portfile	2012-11-15 03:42:08 UTC (rev 99722)
+++ trunk/dports/kde/nepomuk-core/Portfile	2012-11-15 04:34:43 UTC (rev 99723)
@@ -30,5 +30,14 @@
     copy ${filespath}/Info.plist.template ${worksrcpath}/Info.plist.template
 }
 
+pre-activate {
+    #Deactivate hack for when nepomuk-core was splitted from kde4-runtime
+    if {[file exists ${applications_dir}/KDE4/nepomukbackup.app/Contents/Info.plist] 
+        && ![catch {set vers [lindex [registry_active kde4-runtime] 0]}] 
+        && [rpm-vercomp [lindex $vers 1] 4.9.3] < 0} {
+            registry_deactivate kde4-runtime "" [list ports_nodepcheck 1] 
+    } 
+}
+
 livecheck.url       http://kde.mirrors.hoobly.com/stable/latest/src/
 livecheck.regex     ${name}-(\\d+\\.\\d+\\.\\d+)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121114/280b75f9/attachment.html>


More information about the macports-changes mailing list