source: trunk/dports/kde/kmymoney4-devel/Portfile

Last change on this file was 154157, checked in by mk@…, 11 months ago

kmymoney4-devel: depend per default on aqbanking5-devel, so that buildbots can build successfully

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
2# $Id: Portfile 154157 2016-10-22 22:03:16Z ryandesign@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
9fetch.type          git
10git.url             git://anongit.kde.org/kmymoney
11git.branch          485aea8e20604cf79612f62d1393fde9872c0273
12
13name                kmymoney4-devel
14version             4.8-20161022
15
16categories          kde kde4 finance
17maintainers         mk pixilla openmaintainer
18
19description         KMyMoney version 4 following git master as close as possible.
20long_description    KMyMoney is the personal finance manager for KDE. This port is following git master as close as possible.
21platforms           darwin
22license             GPL-2+
23
24homepage            http://kmymoney.org
25master_sites        sourceforge:kmymoney2
26
27livecheck.type      none
28
29distname            kmymoney
30
31conflicts           kmymoney4
32
33build.asroot        yes
34
35depends_lib-append  port:libofx \
36                    path:lib/libaqbanking.dylib:aqbanking5-devel \
37                    port:kde4-runtime \
38                    port:kdepimlibs4 \
39                    port:oxygen-icons \
40                    port:libalkimia
41
42patch.dir         ${workpath}/${distname}
43patch.pre_args    -p1
44patchfiles        patch-mainRaster.diff \
45                  patch-CMakeLists_QGPGME.txt.diff
46
47if {![variant_isset docs]} {
48    patchfiles-append   patch_remove_manpage.diff patch-CMakeLists_remove_APIDOC.txt.diff
49}
50
51# This is needed for patch-CMakeLists_QGPGME.txt.diff:
52pre-configure {
53    reinplace "s|%PREFIX%|${prefix}|g" \
54        ${worksrcpath}/CMakeLists.txt
55}
56
57configure.args-append   -DENABLE_KBANKING=ON \
58                        -DKDE4_BUILD_TESTS=OFF
59
60variant tests description "Enable building tests." {
61        configure.args-delete  -DKDE4_BUILD_TESTS=OFF
62        test.run               yes
63        test.env               DYLD_LIBRARY_PATH=${workpath}/build/lib
64}
65
66variant debug description "Enable debug." {
67        configure.args-append  -DCMAKE_BUILD_TYPE=Debugfull
68}
69
Note: See TracBrowser for help on using the repository browser.