Changeset 98090
- Timestamp:
- Sep 24, 2012, 7:49:04 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/kde/kmymoney/Portfile
r93895 r98090 6 6 name kmymoney 7 7 version 1.0.5 8 revision 1 9 10 replaced_by kmymoney4 8 revision 2 11 9 12 10 categories kde finance … … 16 14 17 15 description a personal finance manager 18 long_description ${description} 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. 28 19 29 homepage http://kmymoney2.sourceforge.net/index-home.html 20 30 master_sites sourceforge:kmymoney2 21 31 22 livecheck.type none 32 livecheck.type regex 33 livecheck.url http://sourceforge.net/projects/kmymoney2/files/KMyMoney/ 34 livecheck.regex "(1\\.0\\.\\d+)" 23 35 24 pre-configure { 25 ui_error "Please do not install this port since it has been replaced by 'kmymoney4'." 26 return -code error 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 45 depends_lib port:aqbanking \ 46 port:kdelibs3 47 48 # aqbanking and kdelibs3 aren't universal 49 universal_variant no 50 51 configure.cppflags-append "-L${prefix}/lib" 52 configure.cflags-append "-L${prefix}/lib" 53 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" 54 configure.env MKDIR_P="mkdir -p" \ 55 QTDIR=${prefix}/lib/qt3 \ 56 HOME=${worksrcpath} 57 configure.args --with-qt-dir=${prefix}/lib/qt3 \ 58 --without-arts \ 59 --enable-mac \ 60 --enable-ofxbanking 61 62 variant no_ofx description {Without support for OFX} { 63 configure.args-delete \ 64 --enable-ofxbanking 27 65 } 28 66 29 distfiles 67 post-configure { 68 ln -sf ${prefix}/bin/glibtool ${worksrcpath}/libtool 69 xinstall ${filespath}/KMyMoney.applescript ${worksrcpath} 70 reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/KMyMoney.applescript 71 } 72 73 build.env HOME=${worksrcpath} 74 75 post-destroot { 76 system "osacompile -o ${destroot}${applications_dir}/KMyMoney.app ${worksrcpath}/KMyMoney.applescript" 77 system "makeicns -in ${worksrcpath}/kmymoney2/hi128-app-kmymoney2.png -out ${destroot}${applications_dir}/KMyMoney.app/Contents/Resources/applet.icns" 78 }
Note: See TracChangeset
for help on using the changeset viewer.