Ticket #24823: Portfile-kmymoney.diff
File Portfile-kmymoney.diff, 2.1 KB (added by mkae (Marko Käning), 15 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 … … 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 37 checksums md5 5971b8b2bc4107b967e267bc635d1b5c \ 32 38 sha1 c6d3bdceec354502d8dee24b88ee714aa29e80b4 \ 33 39 rmd160 71e5bbd4ddba7d6b5f71443f67eebba6ea26c20a 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 39 46 40 # aqbanking and kdelibs3 aren't universal41 universal_variant no42 43 47 configure.cppflags-append "-L${prefix}/lib" 44 48 configure.cflags-append "-L${prefix}/lib" 45 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" … … 58 62 59 63 post-configure { 60 64 ln -sf ${prefix}/bin/glibtool ${worksrcpath}/libtool 61 copy${filespath}/KMyMoney.applescript ${worksrcpath}65 xinstall ${filespath}/KMyMoney.applescript ${worksrcpath} 62 66 reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/KMyMoney.applescript 63 67 } 64 68 … … 66 70 67 71 post-destroot { 68 72 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" 70 74 }