[125794] trunk/dports/kde/konversation11
nicos at macports.org
nicos at macports.org
Fri Sep 26 08:23:13 PDT 2014
Revision: 125794
https://trac.macports.org/changeset/125794
Author: nicos at macports.org
Date: 2014-09-26 08:23:13 -0700 (Fri, 26 Sep 2014)
Log Message:
-----------
konversation11: making port obsolete
Modified Paths:
--------------
trunk/dports/kde/konversation11/Portfile
Removed Paths:
-------------
trunk/dports/kde/konversation11/files/
Modified: trunk/dports/kde/konversation11/Portfile
===================================================================
--- trunk/dports/kde/konversation11/Portfile 2014-09-26 15:17:59 UTC (rev 125793)
+++ trunk/dports/kde/konversation11/Portfile 2014-09-26 15:23:13 UTC (rev 125794)
@@ -1,78 +1,31 @@
# $Id$
+#Port made obsolete on 2014/09/26
PortSystem 1.0
name konversation11
version 1.1
-revision 1
-set kdeadmin kde-admindir-1024
-categories kde kde3
-license GPL-2+
-maintainers nomaintainer
-description KDE IRC client.\
- NB No KDE sound support.
-long_description ${description}
-platforms darwin
-homepage http://konversation.kde.org/
-master_sites http://download.berlios.de/konversation \
- http://ranger.users.finkproject.org/distfiles/kde-admindir/:admin \
- http://ranger.befunk.com/fink/kde-admindir/:admin \
- http://astrange.ithinksw.net/~astrange/ranger-fink/kde-admindir/:admin \
- http://www.southofheaven.net/befunk/kde-admindir/:admin
-use_bzip2 yes
-distname konversation-${version}
-distfiles ${distname}.tar.bz2 ${kdeadmin}.tar.bz2:admin
+revision 2
-depends_build port:autoconf263 \
- port:doxygen \
- path:bin/dot:graphviz \
- port:unsermake
+replaced_by konversation
-depends_lib port:kdebase3
+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}
-checksums ${distname}.tar.bz2 md5 0d38a16747ab4f6549863de385cb551c \
- ${kdeadmin}.tar.bz2 md5 d99491aa5d520fd1d70393a718019322
+homepage http://www.macports.org/
-extract.only ${distname}.tar.bz2
-post-extract { system "cd ${worksrcpath} && bzcat -dc ${distpath}/${kdeadmin}.tar.bz2 | tar xf -" }
+archive_sites
+distfiles
-patchfiles
-patch {
- foreach f $patchfiles {
- system "cd ${worksrcpath} && sed -e 's, at FINKPREFIX@,${prefix},g' ${filespath}/${f} | patch -p1"
- }
- system "perl -pi -e 's,-O2,-Os,g; s,doc/HTML,doc/kde,g; s,/usr/share/doc/packages/qt3/html,${prefix}/share/doc/qt3/html,g;' ${worksrcpath}/admin/*"
- system "echo \"KDE_ENABLE_HIDDEN_VISIBILITY\" >> ${worksrcpath}/configure.in.in"
+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 be able to install KDE4. This can be done 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-patch {
- reinplace "s|/lib/freetype219||g" ${worksrcpath}/environment-helper.sh
- reinplace "s|--with-ssl-dir=/usr|--with-ssl-dir=\$PREFIX|g" ${worksrcpath}/environment-helper.sh
- reinplace "s|HOME=/tmp|HOME=${workpath}|g" ${worksrcpath}/environment-helper.sh
- reinplace "s|/tmp/buildlog|${workpath}/buildlog|g" ${worksrcpath}/build-helper.sh
- foreach f {CompileScript.sh InstallScript.sh} {
- copy ${filespath}/${f} ${worksrcpath}
- reinplace "s|%p|${prefix}|g" ${worksrcpath}/${f}
- reinplace "s|%N|${name}|g" ${worksrcpath}/${f}
- reinplace "s|%v|${version}|g" ${worksrcpath}/${f}
- reinplace "s|%r|${revision}|g" ${worksrcpath}/${f}
- reinplace "s|%c|${configure.args}|g" ${worksrcpath}/${f}
- reinplace "s|%d|${destroot}|g" ${worksrcpath}/${f}
- reinplace "s|%i|${destroot}${prefix}|g" ${worksrcpath}/${f}
- file attributes ${worksrcpath}/${f} -permissions 0755
- }
-}
-
-configure.args --with-distribution='MacPorts/Mac OS X' --without-arts
-
-use_configure no
-
-use_parallel_build yes
-build.env MAKEFLAGS="-j${build.jobs}" AUTOCONF=autoconf263
-build.cmd ./CompileScript.sh
-
-destroot.cmd ./InstallScript.sh
-post-destroot {
- xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
- xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog INSTALL README TODO ${destroot}${prefix}/share/doc/${name}
-}
+livecheck.type none
\ No newline at end of file
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140926/61054871/attachment.html>
More information about the macports-changes
mailing list