Ticket #24921: Portfile-kmymoney.diff
File Portfile-kmymoney.diff, 2.1 KB (added by mkae (Marko Käning), 14 years ago) |
---|
-
Portfile
old new 1 # $Id: Portfile 66851 2010-04-23 22:24:53Z ryandesign@macports.org $ 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$ 2 3 3 4 PortSystem 1.0 4 5 5 6 name kmymoney 6 version 1.0. 47 version 1.0.5 7 8 revision 6 8 9 9 10 categories kde finance … … 26 27 27 28 homepage http://kmymoney2.sourceforge.net/index-home.html 28 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 29 35 distname kmymoney2-${version} 30 36 use_bzip2 yes 31 checksums md5 5971b8b2bc4107b967e267bc635d1b5c\32 sha1 c6d3bdceec354502d8dee24b88ee714aa29e80b4\33 rmd160 71e5bbd4ddba7d6b5f71443f67eebba6ea26c20a37 checksums md5 7be750718277ac7c577c574c712f53a2 \ 38 sha1 dc496bb95353f0254125faa1de37b1431af06f1e \ 39 rmd160 14a468b54335bd753cae0bc531ca648275cd1bfd 34 40 35 depends_build port:libtool 41 depends_build port:libtool \ 42 port:makeicns 36 43 37 44 depends_lib port:aqbanking \ 38 45 port:kdelibs3 … … 58 65 59 66 post-configure { 60 67 ln -sf ${prefix}/bin/glibtool ${worksrcpath}/libtool 61 copy${filespath}/KMyMoney.applescript ${worksrcpath}68 xinstall ${filespath}/KMyMoney.applescript ${worksrcpath} 62 69 reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/KMyMoney.applescript 63 70 } 64 71 … … 66 73 67 74 post-destroot { 68 75 system "osacompile -o ${destroot}${applications_dir}/KMyMoney.app ${worksrcpath}/KMyMoney.applescript" 69 file copy -force ${filespath}/applet.icns ${destroot}${applications_dir}/KMyMoney.app/Contents/Resources/76 system "makeicns -in ${worksrcpath}/kmymoney2/hi128-app-kmymoney2.png -out ${destroot}${applications_dir}/KMyMoney.app/Contents/Resources/applet.icns" 70 77 }