15 | | description a personal finance manager |
16 | | long_description KMyMoney is the personal finance manager for KDE. \ |
17 | | It operates in a similar way to Microsoft Money and \ |
18 | | Quicken, it supports different account types, categorisation \ |
19 | | of expenses and incomes, reconciliation of bank accounts, \ |
20 | | QIF import/export, multiple currencies and initial online \ |
21 | | banking support. \ |
22 | | Released under the GNU General Public License. \ |
23 | | KMyMoney is free software. \ |
24 | | \ |
25 | | NB: This port contains a starter .app which is located in \ |
26 | | Applications/MacPorts and ensures that permissions of .kde \ |
27 | | directory are set properly to run kmymoney. |
| 13 | platforms darwin |
| 14 | maintainers nomaintainer |
| 15 | supported_archs noarch |
| 16 | description this port is only a stub and has been made obsolete by ${replaced_by} |
| 17 | default long_description ${description} |
36 | | distname kmymoney2-${version} |
37 | | use_bzip2 yes |
38 | | checksums md5 7be750718277ac7c577c574c712f53a2 \ |
39 | | sha1 dc496bb95353f0254125faa1de37b1431af06f1e \ |
40 | | rmd160 14a468b54335bd753cae0bc531ca648275cd1bfd |
41 | | |
42 | | depends_build port:libtool \ |
43 | | port:makeicns \ |
44 | | port:pkgconfig |
45 | | |
46 | | depends_lib port:kdelibs3 \ |
47 | | port:libofx \ |
48 | | port:opensp |
49 | | |
50 | | # aqbanking and kdelibs3 aren't universal |
51 | | universal_variant no |
52 | | |
53 | | configure.cppflags-append "-L${prefix}/lib" |
54 | | configure.cflags-append "-L${prefix}/lib" |
55 | | configure.ldflags-append "-Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib" |
56 | | configure.env MKDIR_P="mkdir -p" \ |
57 | | QTDIR=${prefix}/lib/qt3 \ |
58 | | HOME=${worksrcpath} |
59 | | configure.args --with-qt-dir=${prefix}/lib/qt3 \ |
60 | | --without-arts \ |
61 | | --enable-mac \ |
62 | | --enable-ofxbanking |
63 | | |
64 | | variant no_ofx description {Without support for OFX} { |
65 | | configure.args-delete \ |
66 | | --enable-ofxbanking |
| 24 | pre-configure { |
| 25 | ui_error "KDE3 is considered obsolete, and is being replaced by KDE4. Consequently, ${subport} has been made obsolete by the port ${replaced_by}. Please install ${replaced_by} instead. |
| 26 | To do this, it is required to fully uninstall KDE3 first, to then install KDE4 by running |
| 27 | sudo port uninstall --follow-dependents kdelibs3 |
| 28 | WARNING: By running this command, all KDE3 ports will be uninstalled. Please ensure that there are replacements for all the programs you are using." |
| 29 | return -code error "obsolete port" |