Changeset 66803


Ignore:
Timestamp:
Apr 23, 2010, 2:05:34 AM (9 years ago)
Author:
ryandesign@…
Message:

kmymoney: use ${applications_dir} instead of hardcoding /Applications/MacPorts; don't use "system" just to copy files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/kde/kmymoney/Portfile

    r66784 r66803  
    5656post-configure {
    5757    ln -sf ${prefix}/bin/glibtool ${worksrcpath}/libtool
    58     system "cp ${filespath}/KMyMoney.applescript ${worksrcpath}"
     58    copy ${filespath}/KMyMoney.applescript ${worksrcpath}
    5959    reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/KMyMoney.applescript
    6060}
     
    6363
    6464post-destroot {
    65     system "osacompile -o ${destroot}/Applications/MacPorts/KMyMoney.app ${worksrcpath}/KMyMoney.applescript"
    66     system "cp ${filespath}/applet.icns ${destroot}/Applications/MacPorts/KMyMoney.app/Contents/Resources/"
     65    system "osacompile -o ${destroot}${applications_dir}/KMyMoney.app ${worksrcpath}/KMyMoney.applescript"
     66    file copy -force ${filespath}/applet.icns ${destroot}${applications_dir}/KMyMoney.app/Contents/Resources/
    6767}
Note: See TracChangeset for help on using the changeset viewer.