Changeset 125871 for trunk/dports/kde


Ignore:
Timestamp:
Sep 28, 2014, 5:58:05 PM (5 years ago)
Author:
mk@…
Message:

kmymoney: make port obsolete, as KDE3 support is being phased out

File:
1 edited

Legend:

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

    r105378 r125871  
    22# $Id$
    33
     4#Port made obsolete on 2014/09/28
    45PortSystem        1.0
    56
    67name              kmymoney
     8categories        kde finance
     9license           GPL-2+
    710version           1.0.5
    8 revision          6
     11revision          7
    912
    10 categories        kde finance
    11 maintainers       mk pixilla
    12 platforms         darwin
    13 license           GPL-2+
     13replaced_by       kmymoney4
    1414
    15 description       a personal finance manager
    16 long_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.
     15platforms        darwin
     16maintainers      nomaintainer
     17supported_archs  noarch
     18description      this port is only a stub and has been made obsolete by ${replaced_by}
     19default long_description ${description}
    2820
    29 homepage          http://kmymoney2.sourceforge.net/index-home.html
    30 master_sites      sourceforge:kmymoney2
     21homepage        http://www.macports.org/
    3122
    32 livecheck.type    regex
    33 livecheck.url     http://sourceforge.net/projects/kmymoney2/files/KMyMoney/
    34 livecheck.regex   "(1\\.0\\.\\d+)"
     23archive_sites
     24distfiles
    3525
    36 distname          kmymoney2-${version}
    37 use_bzip2         yes
    38 checksums         md5     7be750718277ac7c577c574c712f53a2 \
    39                   sha1    dc496bb95353f0254125faa1de37b1431af06f1e \
    40                   rmd160  14a468b54335bd753cae0bc531ca648275cd1bfd
    41 
    42 depends_build     port:libtool \
    43                   port:makeicns \
    44                   port:pkgconfig
    45 
    46 depends_lib       port:kdelibs3 \
    47                   port:libofx \
    48                   port:opensp
    49 
    50 # aqbanking and kdelibs3 aren't universal
    51 universal_variant no
    52 
    53 configure.cppflags-append  "-L${prefix}/lib"
    54 configure.cflags-append    "-L${prefix}/lib"
    55 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"
    56 configure.env     MKDIR_P="mkdir -p" \
    57                   QTDIR=${prefix}/lib/qt3 \
    58                   HOME=${worksrcpath}
    59 configure.args    --with-qt-dir=${prefix}/lib/qt3 \
    60                   --without-arts \
    61                   --enable-mac \
    62                   --enable-ofxbanking
    63 
    64 variant no_ofx description {Without support for OFX} {
    65     configure.args-delete \
    66                   --enable-ofxbanking
     26pre-configure {
     27    ui_error "KDE3 is considered obsolete, and is being replaced by KDE4. Consequently, ${subport} has been made obsolete by the port ${replaced_by}. Please install ${replaced_by} instead. \
     28To do this, it is required to fully uninstall KDE3 first, to then install KDE4 by running \
     29sudo port uninstall --follow-dependents kdelibs3 \
     30WARNING: By running this command, all KDE3 ports will be uninstalled. Please ensure that there are replacements for all the programs you are using."
     31    return -code error "obsolete port"
    6732}
    6833
    69 post-configure {
    70     ln -sf ${prefix}/bin/glibtool ${worksrcpath}/libtool
    71     xinstall ${filespath}/KMyMoney.applescript ${worksrcpath}
    72     reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/KMyMoney.applescript
    73 }
    74 
    75 patchfiles        patch_kmymoney2-plugins-viewinterface.h.diff
    76 
    77 build.env         HOME=${worksrcpath}
    78 
    79 post-destroot {
    80     system "osacompile -o ${destroot}${applications_dir}/KMyMoney.app ${worksrcpath}/KMyMoney.applescript"
    81     system "makeicns -in ${worksrcpath}/kmymoney2/hi128-app-kmymoney2.png -out ${destroot}${applications_dir}/KMyMoney.app/Contents/Resources/applet.icns"
    82 }
     34livecheck.type  none
Note: See TracChangeset for help on using the changeset viewer.