source: trunk/dports/kde/kmymoney4/Portfile @ 92585

Last change on this file since 92585 was 92585, checked in by mk@…, 5 years ago

kmymoney4: run kbuildsycoca4 in post-activate step (issue #32993), add description for no_x11 variant

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
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: Portfile 92585 2012-05-01 19:48:01Z mk@macports.org $
3
4PortSystem          1.0
5
6# See dports/_resources/port1.0/group/kde4-1.1.tcl for more info.
7PortGroup           kde4    1.1
8
9name                kmymoney4
10version             4.6.2
11
12categories          kde finance
13maintainers         mk pixilla openmaintainer
14
15description         kmymoney version 4
16long_description    KMyMoney is the personal finance manager for KDE.
17platforms           darwin
18license             GPL-2+
19
20homepage            http://kmymoney2.sourceforge.net/index-home.html
21master_sites        sourceforge:kmymoney2
22
23livecheck.type      regex
24livecheck.url       http://sourceforge.net/projects/kmymoney2/files/
25livecheck.regex     "kmymoney-(4\\.\\d+?(\\.\\d+))\\.tar"
26
27distname            kmymoney-${version}
28use_bzip2           yes
29
30build.asroot        yes
31
32checksums           md5     5659706cbe85416cbabfa000a29b19b5 \
33                    sha1    b7dc6ce3a36c441ae2d199725db9aa2ec23fdd1f \
34                    rmd160  b71f82f7fed3daba5711437db29cd225f38262d9
35
36conflicts           kmymoney4-devel
37
38depends_lib-append  port:libofx \
39                    port:aqbanking5 \
40                    port:kde4-runtime \
41                    port:kdepimlibs4 \
42                    port:oxygen-icons \
43                    port:libalkimia
44
45patch.dir           ${workpath}/${distname}
46patch.pre_args      -p1
47patchfiles          patch-CMakeLists.txt.diff
48
49#default_variants +no_x11 +no_gtk
50
51variant no_x11 description {build without X11 to avoid unneeded dependencies} {}
52
53variant no_gtk description {build without GTK support to ensure avahi gets build without it, avoiding X11} {}
54
55post-activate {
56    ui_msg "Calling kbuildsycoca4 in case KDE hasn't called it yet to make sure that plugins are loaded."
57    system "${prefix}/bin/kbuildsycoca4"
58}
Note: See TracBrowser for help on using the repository browser.