[116874] trunk/dports/kde

nicos at macports.org nicos at macports.org
Sun Feb 9 01:39:17 PST 2014


Revision: 116874
          https://trac.macports.org/changeset/116874
Author:   nicos at macports.org
Date:     2014-02-09 01:39:17 -0800 (Sun, 09 Feb 2014)
Log Message:
-----------
libkomparediff2: new port

Added Paths:
-----------
    trunk/dports/kde/libkomparediff2/
    trunk/dports/kde/libkomparediff2/Portfile
    trunk/dports/kde/libkomparediff2/files/
    trunk/dports/kde/libkomparediff2/files/patch-CMakeLists.diff

Added: trunk/dports/kde/libkomparediff2/Portfile
===================================================================
--- trunk/dports/kde/libkomparediff2/Portfile	                        (rev 0)
+++ trunk/dports/kde/libkomparediff2/Portfile	2014-02-09 09:39:17 UTC (rev 116874)
@@ -0,0 +1,40 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem          1.0
+PortGroup           kde4   1.1
+
+name                libkomparediff2
+version             4.12.2
+categories          kde kde4
+license             GPL-2+ LGPL-2+
+maintainers         nicos openmaintainer
+description         KDE Diff library
+long_description    This library is part of kompare, a GUI front-end program \
+                    that enables differences between source files to be viewed \
+                    and merged. It can be used to compare differences on files \
+                    or the contents of folders.
+platforms           darwin
+homepage            http://www.kde.org/applications/development/kompare/
+master_sites        kde:stable/${version}/src/
+use_xz              yes
+
+checksums           rmd160  ce1b6f76b7adbb5928992a13862b6276d224530e \
+                    sha256  601ac5be5154d06ef016d7b83229e41ed563f30b38314aa041d7db79ab73119e
+
+#Binaries do not link to openssl, nor use the ssl backend of kdelibs4
+license_noconflict  openssl
+
+depends_lib-append  port:kdelibs4
+
+pre-activate {
+    #Deactivate hack for when libkomparediff2 port has been separated from kompare
+    if {[file exists ${prefix}/lib/libkomparediff2.4.dylib]
+        && ![catch {set vers [lindex [registry_active kompare] 0]}] 
+        && [rpm-vercomp [lindex $vers 1] 4.12.0] < 0} {
+            registry_deactivate_composite kompare "" [list ports_nodepcheck 1] 
+    } 
+}
+
+livecheck.url       http://kde.mirrors.hoobly.com/stable/
+livecheck.regex     (\\d+(\\.\\d+)+)


Property changes on: trunk/dports/kde/libkomparediff2/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/kde/libkomparediff2/files/patch-CMakeLists.diff
===================================================================
--- trunk/dports/kde/libkomparediff2/files/patch-CMakeLists.diff	                        (rev 0)
+++ trunk/dports/kde/libkomparediff2/files/patch-CMakeLists.diff	2014-02-09 09:39:17 UTC (rev 116874)
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig	2013-09-14 20:52:04.000000000 +0900
++++ CMakeLists.txt	2013-09-14 20:52:16.000000000 +0900
+@@ -7,7 +7,7 @@
+ add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
+ include_directories (${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES})
+ 
+-add_subdirectory( doc )
++#add_subdirectory( doc )
+ add_subdirectory( interfaces )
+ add_subdirectory( libdiff2 )
+ add_subdirectory( libdialogpages )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140209/41da5107/attachment.html>


More information about the macports-changes mailing list