Ticket #24823: Portfile-kmymoney.diff

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

Sorry Ryan, everytime I forget about "haspatch maintainer", correct type and the diff... Here it comes

  • 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
     
    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
    3137checksums         md5     5971b8b2bc4107b967e267bc635d1b5c \
    3238                  sha1    c6d3bdceec354502d8dee24b88ee714aa29e80b4 \
    3339                  rmd160  71e5bbd4ddba7d6b5f71443f67eebba6ea26c20a
    3440
    35 depends_build     port:libtool
     41depends_build     port:libtool \
     42                  port:makeicns
    3643
    3744depends_lib       port:aqbanking \
    3845                  port:kdelibs3
    3946
    40 # aqbanking and kdelibs3 aren't universal
    41 universal_variant no
    42 
    4347configure.cppflags-append  "-L${prefix}/lib"
    4448configure.cflags-append    "-L${prefix}/lib"
    4549configure.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"
     
    5862
    5963post-configure {
    6064    ln -sf ${prefix}/bin/glibtool ${worksrcpath}/libtool
    61     copy ${filespath}/KMyMoney.applescript ${worksrcpath}
     65    xinstall ${filespath}/KMyMoney.applescript ${worksrcpath}
    6266    reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/KMyMoney.applescript
    6367}
    6468
     
    6670
    6771post-destroot {
    6872    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/
     73    system "makeicns -in ${worksrcpath}/kmymoney2/hi128-app-kmymoney2.png -out ${destroot}${applications_dir}/KMyMoney.app/Contents/Resources/applet.icns"
    7074}