Ticket #50143: Portfile

File Portfile, 1.6 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     kwalletmanager
7set kf5.virtualPath applications
8set kf5.category    system
9PortGroup           kf5 1.1
10
11maintainers         gmail.com:rjvbertin mk openmaintainer
12
13installs_libs       no
14
15description         KF5 Wallet manager
16long_description    The KF5 Wallet manager is a tool to manage the \
17                    passwords in your KDE wallet(s).
18checksums           rmd160  bb67bc75f893b44b707b62927d54a8f6ee1ceb09 \
19                    sha256  ce269540a3c7330f7bf8b8b7bd6722dcc5585a0190355165adc0ef670f6e61e9
20
21kf5.depends_frameworks \
22                    kcoreaddons kdoctools \
23                    kauth kwallet \
24                    kservice kcmutils \
25                    kdelibs4support ki18n \
26                    kxmlgui kconfig \
27                    kconfigwidgets kdbusaddons
28
29platform darwin {
30    variant kde4compat description {allow installation alongside KDE4's port:kwallet} {}
31    patchfiles-append \
32                    patch-savehelper.diff
33    post-destroot {
34        if {[variant_isset kde4compat]} {
35            file delete -force ${destroot}${prefix}/share/icons
36        }
37        ln -s ${kf5.applications_dir}/kwalletmanager5.app/Contents/MacOS/kwalletmanager5 ${destroot}${prefix}/bin/kwalletmanager5
38    }
39}
40patchfiles-append   patch-enable-restore-from-tray.diff \
41                    patch-preserve-app-icon.diff
42# temporarily drop the need to authentify before being able to save changes to kwallet config settings
43patchfiles-append   patch-drop-authentication.diff