1 | # -*- 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 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup conflicts_build 1.0 |
---|
6 | |
---|
7 | set kf5.project kompare |
---|
8 | set kf5.virtualPath applications |
---|
9 | set kf5.category development |
---|
10 | PortGroup kf5 1.1 |
---|
11 | |
---|
12 | maintainers gmail.com:rjvbertin mk openmaintainer |
---|
13 | |
---|
14 | installs_libs yes |
---|
15 | |
---|
16 | description KDE Diff viewer |
---|
17 | long_description Kompare is a GUI front-end program that enables differences \ |
---|
18 | between source files to be viewed and merged. It can be used \ |
---|
19 | to compare differences on files or the contents of folders. |
---|
20 | checksums rmd160 405d5dba5fc32eed1abd43314fed9fced16beaeb \ |
---|
21 | sha256 d1158798937019845905cb419683e366f383ece9b0db64b88df2b8ffb17c71b3 |
---|
22 | |
---|
23 | kf5.depends_frameworks \ |
---|
24 | kcoreaddons kcodecs kconfig kdoctools \ |
---|
25 | kiconthemes kjobwidgets kparts \ |
---|
26 | ktexteditor kwidgetsaddons |
---|
27 | depends_lib-append port:kf5-libkomparediff2 |
---|
28 | |
---|
29 | conflicts_build-append \ |
---|
30 | port:libkomparediff2 |
---|
31 | |
---|
32 | platform darwin { |
---|
33 | variant kde4compat description {allow installation alongside KDE4's port:kompare} { |
---|
34 | post-destroot { |
---|
35 | file delete -force ${destroot}${prefix}/include/kompare |
---|
36 | file delete ${destroot}${prefix}/lib/libkompareinterface.dylib |
---|
37 | file delete -force ${destroot}${prefix}/share/doc |
---|
38 | file delete -force ${destroot}${prefix}/share/icons |
---|
39 | } |
---|
40 | } |
---|
41 | post-destroot { |
---|
42 | ln -s ${kf5.applications_dir}/kompare.app/Contents/MacOS/kompare ${destroot}${prefix}/bin/kompare5 |
---|
43 | } |
---|
44 | } |
---|
45 | platform linux { |
---|
46 | post-destroot { |
---|
47 | ln -s kompare \ |
---|
48 | ${destroot}${prefix}/bin/kompare5 |
---|
49 | } |
---|
50 | } |
---|