[125871] trunk/dports/kde/kmymoney/Portfile

mk at macports.org mk at macports.org
Sun Sep 28 10:58:05 PDT 2014


Revision: 125871
          https://trac.macports.org/changeset/125871
Author:   mk at macports.org
Date:     2014-09-28 10:58:05 -0700 (Sun, 28 Sep 2014)
Log Message:
-----------
kmymoney: make port obsolete, as KDE3 support is being phased out

Modified Paths:
--------------
    trunk/dports/kde/kmymoney/Portfile

Modified: trunk/dports/kde/kmymoney/Portfile
===================================================================
--- trunk/dports/kde/kmymoney/Portfile	2014-09-28 16:54:50 UTC (rev 125870)
+++ trunk/dports/kde/kmymoney/Portfile	2014-09-28 17:58:05 UTC (rev 125871)
@@ -1,82 +1,34 @@
 # -*- 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
 # $Id$
 
+#Port made obsolete on 2014/09/28
 PortSystem        1.0
 
 name              kmymoney
-version           1.0.5
-revision          6
-
 categories        kde finance
-maintainers       mk pixilla
-platforms         darwin
 license           GPL-2+
+version           1.0.5
+revision          7
 
-description       a personal finance manager
-long_description  KMyMoney is the personal finance manager for KDE. \
-                  It operates in a similar way to Microsoft Money and \
-                  Quicken, it supports different account types, categorisation \
-                  of expenses and incomes, reconciliation of bank accounts, \
-                  QIF import/export, multiple currencies and initial online \
-                  banking support. \
-                  Released under the GNU General Public License. \
-                  KMyMoney is free software. \
-                  \
-                  NB: This port contains a starter .app which is located in \
-                  Applications/MacPorts and ensures that permissions of .kde \
-                  directory are set properly to run kmymoney.
+replaced_by       kmymoney4
 
-homepage          http://kmymoney2.sourceforge.net/index-home.html
-master_sites      sourceforge:kmymoney2
+platforms        darwin
+maintainers      nomaintainer
+supported_archs  noarch
+description      this port is only a stub and has been made obsolete by ${replaced_by}
+default long_description ${description}
 
-livecheck.type    regex
-livecheck.url     http://sourceforge.net/projects/kmymoney2/files/KMyMoney/
-livecheck.regex   "(1\\.0\\.\\d+)"
+homepage        http://www.macports.org/
 
-distname          kmymoney2-${version}
-use_bzip2         yes
-checksums         md5     7be750718277ac7c577c574c712f53a2 \
-                  sha1    dc496bb95353f0254125faa1de37b1431af06f1e \
-                  rmd160  14a468b54335bd753cae0bc531ca648275cd1bfd
+archive_sites
+distfiles
 
-depends_build     port:libtool \
-                  port:makeicns \
-                  port:pkgconfig
-
-depends_lib       port:kdelibs3 \
-                  port:libofx \
-                  port:opensp
-
-# aqbanking and kdelibs3 aren't universal
-universal_variant no
-
-configure.cppflags-append  "-L${prefix}/lib"
-configure.cflags-append    "-L${prefix}/lib"
-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"
-configure.env     MKDIR_P="mkdir -p" \
-                  QTDIR=${prefix}/lib/qt3 \
-                  HOME=${worksrcpath}
-configure.args    --with-qt-dir=${prefix}/lib/qt3 \
-                  --without-arts \
-                  --enable-mac \
-                  --enable-ofxbanking
-
-variant no_ofx description {Without support for OFX} {
-    configure.args-delete \
-                  --enable-ofxbanking
+pre-configure {
+    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. \
+To do this, it is required to fully uninstall KDE3 first, to then install KDE4 by running \
+sudo port uninstall --follow-dependents kdelibs3 \
+WARNING: By running this command, all KDE3 ports will be uninstalled. Please ensure that there are replacements for all the programs you are using."
+    return -code error "obsolete port"
 }
 
-post-configure {
-    ln -sf ${prefix}/bin/glibtool ${worksrcpath}/libtool
-    xinstall ${filespath}/KMyMoney.applescript ${worksrcpath}
-    reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/KMyMoney.applescript
-}
-
-patchfiles        patch_kmymoney2-plugins-viewinterface.h.diff
-
-build.env         HOME=${worksrcpath}
-
-post-destroot {
-    system "osacompile -o ${destroot}${applications_dir}/KMyMoney.app ${worksrcpath}/KMyMoney.applescript"
-    system "makeicns -in ${worksrcpath}/kmymoney2/hi128-app-kmymoney2.png -out ${destroot}${applications_dir}/KMyMoney.app/Contents/Resources/applet.icns"
-}
+livecheck.type  none
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140928/1315b5bd/attachment-0001.html>


More information about the macports-changes mailing list