Ticket #50094: Portfile

File Portfile, 1.5 KB (added by RJVB (René Bertin), 9 years ago)
Line 
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
4PortSystem          1.0
5
6set kf5.project     libkomparediff2
7set kf5.virtualPath applications
8set kf5.category    development
9PortGroup           kf5 1.1
10
11maintainers         gmail.com:rjvbertin mk openmaintainer
12
13installs_libs       yes
14
15description         KDE Diff library
16long_description    This library is part of kompare, a GUI front-end program \
17                    that enables differences between source files to be viewed \
18                    and merged. It can be used to compare differences on files \
19                    or the contents of folders.
20checksums           rmd160  c6fdf27aab32a738eec02620a21d5358896a3d78 \
21                    sha256  bdad0d840660abe670d9eab21739f3cdf6d812224eebd82c779e2ea30efdfdea
22
23kf5.depends_frameworks \
24                    kcoreaddons kcodecs \
25                    kconfig ki18n kio \
26                    kparts kxmlgui
27
28platform darwin {
29    variant kde4compat description {allow installation alongside KDE4's port:libkomparediff2} {
30        post-destroot {
31            file delete -force ${destroot}${prefix}/lib/cmake/libkomparediff2
32            file delete -force ${destroot}${prefix}/include/libkomparediff2
33            file delete ${destroot}${prefix}/lib/libkomparediff2.dylib
34        }
35    }
36    if {[variant_isset kde4compat]} {
37        conflicts-append \
38                    port:libkomparediff2
39    }
40}