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$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name kmymoney |
---|
7 | version 1.0.4 |
---|
8 | revision 6 |
---|
9 | |
---|
10 | categories kde finance |
---|
11 | maintainers techno.ms:mk-macports pixilla.com:brad |
---|
12 | platforms darwin |
---|
13 | |
---|
14 | description a personal finance manager |
---|
15 | long_description KMyMoney is the personal finance manager for KDE. \ |
---|
16 | It operates in a similar way to Microsoft Money and \ |
---|
17 | Quicken, it supports different account types, categorisation \ |
---|
18 | of expenses and incomes, reconciliation of bank accounts, \ |
---|
19 | QIF import/export, multiple currencies and initial online \ |
---|
20 | banking support. \ |
---|
21 | Released under the GNU General Public License. \ |
---|
22 | KMyMoney is free software. \ |
---|
23 | \ |
---|
24 | NB: This port contains a starter .app which is located in \ |
---|
25 | Applications/MacPorts and ensures that permissions of .kde \ |
---|
26 | directory are set properly to run kmymoney. |
---|
27 | |
---|
28 | homepage http://kmymoney2.sourceforge.net/index-home.html |
---|
29 | master_sites sourceforge:kmymoney2 |
---|
30 | |
---|
31 | livecheck.type regex |
---|
32 | livecheck.url http://sourceforge.net/projects/kmymoney2/files/ |
---|
33 | livecheck.regex "(1\\.0\\.\\d+)" |
---|
34 | |
---|
35 | distname kmymoney2-${version} |
---|
36 | use_bzip2 yes |
---|
37 | checksums md5 5971b8b2bc4107b967e267bc635d1b5c \ |
---|
38 | sha1 c6d3bdceec354502d8dee24b88ee714aa29e80b4 \ |
---|
39 | rmd160 71e5bbd4ddba7d6b5f71443f67eebba6ea26c20a |
---|
40 | |
---|
41 | depends_build port:libtool \ |
---|
42 | port:makeicns |
---|
43 | |
---|
44 | depends_lib port:aqbanking \ |
---|
45 | port:kdelibs3 |
---|
46 | |
---|
47 | configure.cppflags-append "-L${prefix}/lib" |
---|
48 | configure.cflags-append "-L${prefix}/lib" |
---|
49 | 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" |
---|
50 | configure.env MKDIR_P="mkdir -p" \ |
---|
51 | QTDIR=${prefix}/lib/qt3 \ |
---|
52 | HOME=${worksrcpath} |
---|
53 | configure.args --with-qt-dir=${prefix}/lib/qt3 \ |
---|
54 | --without-arts \ |
---|
55 | --enable-mac \ |
---|
56 | --enable-ofxbanking |
---|
57 | |
---|
58 | variant no_ofx description {Without support for OFX} { |
---|
59 | configure.args-delete \ |
---|
60 | --enable-ofxbanking |
---|
61 | } |
---|
62 | |
---|
63 | post-configure { |
---|
64 | ln -sf ${prefix}/bin/glibtool ${worksrcpath}/libtool |
---|
65 | xinstall ${filespath}/KMyMoney.applescript ${worksrcpath} |
---|
66 | reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/KMyMoney.applescript |
---|
67 | } |
---|
68 | |
---|
69 | build.env HOME=${worksrcpath} |
---|
70 | |
---|
71 | post-destroot { |
---|
72 | system "osacompile -o ${destroot}${applications_dir}/KMyMoney.app ${worksrcpath}/KMyMoney.applescript" |
---|
73 | system "makeicns -in ${worksrcpath}/kmymoney2/hi128-app-kmymoney2.png -out ${destroot}${applications_dir}/KMyMoney.app/Contents/Resources/applet.icns" |
---|
74 | } |
---|