Changeset 98090


Ignore:
Timestamp:
Sep 24, 2012, 7:49:04 PM (12 years ago)
Author:
mk@…
Message:

kmymoney: resurrect version 1.0.5 which builds fine with latest qt3

File:
1 edited

Legend:

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

    r93895 r98090  
    66name              kmymoney
    77version           1.0.5
    8 revision          1
    9 
    10 replaced_by       kmymoney4
     8revision          2
    119
    1210categories        kde finance
     
    1614
    1715description       a personal finance manager
    18 long_description  ${description}
     16long_description  KMyMoney is the personal finance manager for KDE. \
     17                  It operates in a similar way to Microsoft Money and \
     18                  Quicken, it supports different account types, categorisation \
     19                  of expenses and incomes, reconciliation of bank accounts, \
     20                  QIF import/export, multiple currencies and initial online \
     21                  banking support. \
     22                  Released under the GNU General Public License. \
     23                  KMyMoney is free software. \
     24                  \
     25                  NB: This port contains a starter .app which is located in \
     26                  Applications/MacPorts and ensures that permissions of .kde \
     27                  directory are set properly to run kmymoney.
     28
    1929homepage          http://kmymoney2.sourceforge.net/index-home.html
    2030master_sites      sourceforge:kmymoney2
    2131
    22 livecheck.type    none
     32livecheck.type    regex
     33livecheck.url     http://sourceforge.net/projects/kmymoney2/files/KMyMoney/
     34livecheck.regex   "(1\\.0\\.\\d+)"
    2335
    24 pre-configure {
    25     ui_error "Please do not install this port since it has been replaced by 'kmymoney4'."
    26     return -code error
     36distname          kmymoney2-${version}
     37use_bzip2         yes
     38checksums         md5     7be750718277ac7c577c574c712f53a2 \
     39                  sha1    dc496bb95353f0254125faa1de37b1431af06f1e \
     40                  rmd160  14a468b54335bd753cae0bc531ca648275cd1bfd
     41
     42depends_build     port:libtool \
     43                  port:makeicns
     44
     45depends_lib       port:aqbanking \
     46                  port:kdelibs3
     47
     48# aqbanking and kdelibs3 aren't universal
     49universal_variant no
     50
     51configure.cppflags-append  "-L${prefix}/lib"
     52configure.cflags-append    "-L${prefix}/lib"
     53configure.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"
     54configure.env     MKDIR_P="mkdir -p" \
     55                  QTDIR=${prefix}/lib/qt3 \
     56                  HOME=${worksrcpath}
     57configure.args    --with-qt-dir=${prefix}/lib/qt3 \
     58                  --without-arts \
     59                  --enable-mac \
     60                  --enable-ofxbanking
     61
     62variant no_ofx description {Without support for OFX} {
     63    configure.args-delete \
     64                  --enable-ofxbanking
    2765}
    2866
    29 distfiles
     67post-configure {
     68    ln -sf ${prefix}/bin/glibtool ${worksrcpath}/libtool
     69    xinstall ${filespath}/KMyMoney.applescript ${worksrcpath}
     70    reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/KMyMoney.applescript
     71}
     72
     73build.env         HOME=${worksrcpath}
     74
     75post-destroot {
     76    system "osacompile -o ${destroot}${applications_dir}/KMyMoney.app ${worksrcpath}/KMyMoney.applescript"
     77    system "makeicns -in ${worksrcpath}/kmymoney2/hi128-app-kmymoney2.png -out ${destroot}${applications_dir}/KMyMoney.app/Contents/Resources/applet.icns"
     78}
Note: See TracChangeset for help on using the changeset viewer.