Ticket #24921: Portfile-kmymoney.diff

File Portfile-kmymoney.diff, 2.1 KB (added by mkae (Marko Käning), 14 years ago)

portfile diff upgrading to latest version 1.0.5

  • 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$
    23
    34PortSystem        1.0
    45
    56name              kmymoney
    6 version           1.0.4
     7version           1.0.5
    78revision          6
    89
    910categories        kde finance
     
    2627
    2728homepage          http://kmymoney2.sourceforge.net/index-home.html
    2829master_sites      sourceforge:kmymoney2
     30
     31livecheck.type    regex
     32livecheck.url     http://sourceforge.net/projects/kmymoney2/files/
     33livecheck.regex   "(1\\.0\\.\\d+)"
     34
    2935distname          kmymoney2-${version}
    3036use_bzip2         yes
    31 checksums         md5     5971b8b2bc4107b967e267bc635d1b5c \
    32                   sha1    c6d3bdceec354502d8dee24b88ee714aa29e80b4 \
    33                   rmd160  71e5bbd4ddba7d6b5f71443f67eebba6ea26c20a
     37checksums         md5     7be750718277ac7c577c574c712f53a2 \
     38                  sha1    dc496bb95353f0254125faa1de37b1431af06f1e \
     39                  rmd160  14a468b54335bd753cae0bc531ca648275cd1bfd
    3440
    35 depends_build     port:libtool
     41depends_build     port:libtool \
     42                  port:makeicns
    3643
    3744depends_lib       port:aqbanking \
    3845                  port:kdelibs3
     
    5865
    5966post-configure {
    6067    ln -sf ${prefix}/bin/glibtool ${worksrcpath}/libtool
    61     copy ${filespath}/KMyMoney.applescript ${worksrcpath}
     68    xinstall ${filespath}/KMyMoney.applescript ${worksrcpath}
    6269    reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/KMyMoney.applescript
    6370}
    6471
     
    6673
    6774post-destroot {
    6875    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"
    7077}