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 mk@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | # See dports/_resources/port1.0/group/kde4-1.1.tcl for more info. |
---|
7 | PortGroup kde4 1.1 |
---|
8 | |
---|
9 | fetch.type git |
---|
10 | git.url git://anongit.kde.org/kmymoney |
---|
11 | git.branch 485aea8e20604cf79612f62d1393fde9872c0273 |
---|
12 | |
---|
13 | name kmymoney4-devel |
---|
14 | version 4.8-20161022 |
---|
15 | |
---|
16 | categories kde kde4 finance |
---|
17 | maintainers mk pixilla openmaintainer |
---|
18 | |
---|
19 | description KMyMoney version 4 following git master as close as possible. |
---|
20 | long_description KMyMoney is the personal finance manager for KDE. This port is following git master as close as possible. |
---|
21 | platforms darwin |
---|
22 | license GPL-2+ |
---|
23 | |
---|
24 | homepage http://kmymoney.org |
---|
25 | master_sites sourceforge:kmymoney2 |
---|
26 | |
---|
27 | livecheck.type none |
---|
28 | |
---|
29 | distname kmymoney |
---|
30 | |
---|
31 | conflicts kmymoney4 |
---|
32 | |
---|
33 | build.asroot yes |
---|
34 | |
---|
35 | depends_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 | |
---|
42 | patch.dir ${workpath}/${distname} |
---|
43 | patch.pre_args -p1 |
---|
44 | patchfiles patch-mainRaster.diff \ |
---|
45 | patch-CMakeLists_QGPGME.txt.diff |
---|
46 | |
---|
47 | if {![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: |
---|
52 | pre-configure { |
---|
53 | reinplace "s|%PREFIX%|${prefix}|g" \ |
---|
54 | ${worksrcpath}/CMakeLists.txt |
---|
55 | } |
---|
56 | |
---|
57 | configure.args-append -DENABLE_KBANKING=ON \ |
---|
58 | -DKDE4_BUILD_TESTS=OFF |
---|
59 | |
---|
60 | variant 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 | |
---|
66 | variant debug description "Enable debug." { |
---|
67 | configure.args-append -DCMAKE_BUILD_TYPE=Debugfull |
---|
68 | } |
---|
69 | |
---|