[126193] trunk/dports/kde/kdebase3
nicos at macports.org
nicos at macports.org
Sat Oct 4 20:38:15 PDT 2014
Revision: 126193
https://trac.macports.org/changeset/126193
Author: nicos at macports.org
Date: 2014-10-04 20:38:15 -0700 (Sat, 04 Oct 2014)
Log Message:
-----------
kdebase3: made obsolete
Modified Paths:
--------------
trunk/dports/kde/kdebase3/Portfile
Removed Paths:
-------------
trunk/dports/kde/kdebase3/files/
Modified: trunk/dports/kde/kdebase3/Portfile
===================================================================
--- trunk/dports/kde/kdebase3/Portfile 2014-10-05 03:28:29 UTC (rev 126192)
+++ trunk/dports/kde/kdebase3/Portfile 2014-10-05 03:38:15 UTC (rev 126193)
@@ -1,146 +1,31 @@
# $Id$
-#Synced with Fink, revision 1.31
-
+#Port made obsolete on 2014/10/05
PortSystem 1.0
name kdebase3
version 3.5.10
-revision 7
-set kdeadmin kde-admindir-1502
-categories kde kde3
-license GPL-2+
-maintainers nomaintainer
+revision 8
-description Base KDE programs -- e.g. kicker (taskbar). \
- NB No KDE sound support.
+replaced_by kde4-baseapps
-long_description ${description}
+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}
-platforms darwin
-homepage http://www.kde.org/
+homepage http://www.macports.org/
-master_sites kde:stable/${version}/src/:kde \
- 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
+archive_sites
+distfiles
-use_bzip2 yes
-distname kdebase-${version}
-distfiles ${distname}.tar.bz2:kde \
- ${kdeadmin}.tar.bz2:admin
-dist_subdir kde3
-
-depends_build port:autoconf263 \
- port:automake17 \
- port:imake \
- port:unsermake \
- port:pkgconfig \
- port:bdftopcf
-
-depends_lib port:cyrus-sasl2 \
- port:kdelibs3 \
- port:libusb-compat \
- port:xorg-libXau \
- port:xorg-libXcomposite \
- port:xorg-libXcursor \
- port:xorg-libXdamage \
- port:xorg-libXinerama \
- port:xorg-libxkbfile \
- port:xorg-libXrandr \
- port:xorg-libXScrnSaver \
- port:xorg-libXtst \
- port:xorg-libXxf86misc
-# port:openmotif
-
-checksums ${distname}.tar.bz2 md5 88237188271fbf1e6bcd40180a75d953 \
- ${kdeadmin}.tar.bz2 md5 92a60282c1d81f38835ce7d495255cc3
-
-extract.only ${distname}.tar.bz2
-
-post-extract {
- system "cd ${worksrcpath} && bzcat -dc ${distpath}/${kdeadmin}.tar.bz2 | tar xf -"
+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"
}
-patchfiles kdebase3-unified.patch \
- CVE-2010-0436.patch \
- patch-kcontrol_crypto_crypto.cpp.diff
-
-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 "perl -pi -e 's/-Xlinker -framework -Xlinker (\\S*)/-Wl,-framework,\$1/g; s/-framework (\\S*)/-Wl,-framework,\$1/g;' ${worksrcpath}/configure"
-}
-
-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
- }
- reinplace "s|doc/HTML|doc/kde|g" ${worksrcpath}/khelpcenter/searchhandlers/khc_docbookdig.pl.in
- reinplace "s|doc/HTML|doc/kde|g" ${worksrcpath}/doc/userguide/kde-for-admins.docbook
- # init.sh doesn't exist in MacPorts
- reinplace "s|\\(source \"${prefix}/bin/init.sh\"\\)|#\\1|g" ${worksrcpath}/startkde
-}
-
-configure.args --with-sudo-kdesu-backend \
- --without-nfs \
- --with-ldap=framework \
- --with-distribution='MacPorts/Mac OS X' \
- --without-arts
-
-use_configure no
-
-# "you must be root to build this package, it creates setuid binaries!"
-# ticket #30591
-build.asroot yes
-
-use_parallel_build yes
-build.env MAKEFLAGS="-j${build.jobs}" AUTOCONF=autoconf263 AUTOMAKE=automake-17 ACLOCAL=aclocal-17
-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 INSTALL README README.pam ${destroot}${prefix}/share/doc/${name}
-}
-
-post-activate {
- system "${prefix}/bin/fc-cache -fv ${prefix}/share/fonts"
-}
-
-universal_variant no
-
-variant doxygen description {Include API documentation} {
- depends_lib-append port:doxygen \
- path:bin/dot:graphviz
- post-patch {
- foreach f {CompileScript.sh InstallScript.sh} {
- reinplace "s|#apidox#||g" ${worksrcpath}/${f}
- }
- }
-}
-
-if {${os.platform} eq "darwin" && ${os.major} >= 10} {
- patchfiles-append patch-kcontrol_info_info_osx.cpp.diff
-}
-
-platform puredarwin {
- configure.args-append --disable-mac --without-composite
-}
-
-livecheck.type none
+livecheck.type none
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141004/1ab8d0a5/attachment.html>
More information about the macports-changes
mailing list