Ignore:
Timestamp:
Apr 22, 2010, 11:50:41 PM (10 years ago)
Author:
takanori@…
Message:

kmymoney: add a starter .app for easy use (#24433)

Location:
trunk/dports/kde/kmymoney
Files:
3 added
1 edited

Legend:

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

    r66409 r66784  
    55name              kmymoney
    66version           1.0.4
     7revision          5
    78
    89categories        kde finance
    9 maintainers       techno.ms:mk-macports
     10maintainers       techno.ms:mk-macports pixilla.com:brad
    1011platforms         darwin
    1112
     
    1819                  banking support. \
    1920                  Released under the GNU General Public License. \
    20                   KMyMoney is free software.
     21                  KMyMoney is free software. \
     22                  \
     23                  NB: This port contains a starter .app which is located in \
     24                  Applications/MacPorts and ensures that permissions of .kde \
     25                  directory are set properly to run kmymoney.
    2126
    2227homepage          http://kmymoney2.sourceforge.net/index-home.html
     
    3843configure.env     MKDIR_P="mkdir -p" \
    3944                  QTDIR=${prefix}/lib/qt3 \
    40                   HOME=${workpath}
     45                  HOME=${worksrcpath}
    4146configure.args    --with-qt-dir=${prefix}/lib/qt3 \
    4247                  --without-arts \
     
    5156post-configure {
    5257    ln -sf ${prefix}/bin/glibtool ${worksrcpath}/libtool
     58    system "cp ${filespath}/KMyMoney.applescript ${worksrcpath}"
     59    reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/KMyMoney.applescript
    5360}
    5461
    55 build.env         HOME=${workpath}
     62build.env         HOME=${worksrcpath}
     63
     64post-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/"
     67}
Note: See TracChangeset for help on using the changeset viewer.