Changeset 126193


Ignore:
Timestamp:
Oct 5, 2014, 3:38:15 AM (5 years ago)
Author:
nicos@…
Message:

kdebase3: made obsolete

Location:
trunk/dports/kde/kdebase3
Files:
1 deleted
1 edited

Legend:

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

    r114325 r126193  
    11# $Id$
    22
    3 #Synced with Fink, revision 1.31
    4 
     3#Port made obsolete on 2014/10/05
    54PortSystem              1.0
    65
    76name                    kdebase3
    87version                 3.5.10
    9 revision                7
    10 set kdeadmin            kde-admindir-1502
    11 categories              kde kde3
    12 license                 GPL-2+
    13 maintainers             nomaintainer
     8revision                8
    149
    15 description             Base KDE programs -- e.g. kicker (taskbar). \
    16                         NB No KDE sound support.
     10replaced_by      kde4-baseapps
    1711
    18 long_description        ${description}
     12platforms        darwin
     13maintainers      nomaintainer
     14supported_archs  noarch
     15description      this port is only a stub and has been made obsolete by ${replaced_by}
     16default long_description ${description}
    1917
    20 platforms               darwin
    21 homepage                http://www.kde.org/
     18homepage        http://www.macports.org/
    2219
    23 master_sites            kde:stable/${version}/src/:kde \
    24                         http://ranger.users.finkproject.org/distfiles/kde-admindir/:admin \
    25                         http://ranger.befunk.com/fink/kde-admindir/:admin \
    26                         http://astrange.ithinksw.net/~astrange/ranger-fink/kde-admindir/:admin \
    27                         http://www.southofheaven.net/befunk/kde-admindir/:admin
     20archive_sites
     21distfiles
    2822
    29 use_bzip2               yes
    30 distname                kdebase-${version}
    31 distfiles               ${distname}.tar.bz2:kde \
    32                         ${kdeadmin}.tar.bz2:admin
    33 dist_subdir             kde3
    34 
    35 depends_build           port:autoconf263 \
    36                         port:automake17 \
    37                         port:imake \
    38                         port:unsermake \
    39                         port:pkgconfig \
    40                         port:bdftopcf
    41 
    42 depends_lib             port:cyrus-sasl2 \
    43                         port:kdelibs3 \
    44                         port:libusb-compat \
    45                         port:xorg-libXau \
    46                         port:xorg-libXcomposite \
    47                         port:xorg-libXcursor \
    48                         port:xorg-libXdamage \
    49                         port:xorg-libXinerama \
    50                         port:xorg-libxkbfile \
    51                         port:xorg-libXrandr \
    52                         port:xorg-libXScrnSaver \
    53                         port:xorg-libXtst \
    54                         port:xorg-libXxf86misc
    55 #                       port:openmotif
    56 
    57 checksums               ${distname}.tar.bz2 md5 88237188271fbf1e6bcd40180a75d953 \
    58                         ${kdeadmin}.tar.bz2 md5 92a60282c1d81f38835ce7d495255cc3
    59 
    60 extract.only            ${distname}.tar.bz2
    61 
    62 post-extract {
    63     system "cd ${worksrcpath} && bzcat -dc ${distpath}/${kdeadmin}.tar.bz2 | tar xf -"
     23pre-configure {
     24    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. \
     25To do this, it is required to fully uninstall KDE3 first, to then install KDE4 by running \
     26sudo port uninstall --follow-dependents kdelibs3 \
     27WARNING: By running this command, all KDE3 ports will be uninstalled. Please ensure that there are replacements for all the programs you are using."
     28    return -code error "obsolete port"
    6429}
    6530
    66 patchfiles              kdebase3-unified.patch \
    67                         CVE-2010-0436.patch \
    68                         patch-kcontrol_crypto_crypto.cpp.diff
    69 
    70 patch {
    71     foreach f $patchfiles {
    72         system "cd ${worksrcpath} && sed -e 's,@FINKPREFIX@,${prefix},g' ${filespath}/${f} | patch -p1"
    73     }
    74     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/*"
    75     system "perl -pi -e 's/-Xlinker -framework -Xlinker (\\S*)/-Wl,-framework,\$1/g; s/-framework (\\S*)/-Wl,-framework,\$1/g;' ${worksrcpath}/configure"
    76 }
    77 
    78 post-patch {
    79     reinplace "s|/lib/freetype219||g" ${worksrcpath}/environment-helper.sh
    80     reinplace "s|--with-ssl-dir=/usr|--with-ssl-dir=\$PREFIX|g" ${worksrcpath}/environment-helper.sh
    81     reinplace "s|HOME=/tmp|HOME=${workpath}|g" ${worksrcpath}/environment-helper.sh
    82     reinplace "s|/tmp/buildlog|${workpath}/buildlog|g" ${worksrcpath}/build-helper.sh
    83     foreach f {CompileScript.sh InstallScript.sh} {
    84         copy ${filespath}/${f} ${worksrcpath}
    85         reinplace "s|%p|${prefix}|g" ${worksrcpath}/${f}
    86         reinplace "s|%N|${name}|g" ${worksrcpath}/${f}
    87         reinplace "s|%v|${version}|g" ${worksrcpath}/${f}
    88         reinplace "s|%r|${revision}|g" ${worksrcpath}/${f}
    89         reinplace "s|%c|${configure.args}|g" ${worksrcpath}/${f}
    90         reinplace "s|%d|${destroot}|g" ${worksrcpath}/${f}
    91         reinplace "s|%i|${destroot}${prefix}|g" ${worksrcpath}/${f}
    92         file attributes ${worksrcpath}/${f} -permissions 0755
    93     }
    94     reinplace "s|doc/HTML|doc/kde|g" ${worksrcpath}/khelpcenter/searchhandlers/khc_docbookdig.pl.in
    95     reinplace "s|doc/HTML|doc/kde|g" ${worksrcpath}/doc/userguide/kde-for-admins.docbook
    96     # init.sh doesn't exist in MacPorts
    97     reinplace "s|\\(source \"${prefix}/bin/init.sh\"\\)|#\\1|g" ${worksrcpath}/startkde
    98 }
    99 
    100 configure.args          --with-sudo-kdesu-backend \
    101                         --without-nfs \
    102                         --with-ldap=framework \
    103                         --with-distribution='MacPorts/Mac OS X' \
    104                         --without-arts
    105 
    106 use_configure           no
    107 
    108 # "you must be root to build this package, it creates setuid binaries!"
    109 # ticket #30591
    110 build.asroot            yes
    111 
    112 use_parallel_build      yes
    113 build.env               MAKEFLAGS="-j${build.jobs}" AUTOCONF=autoconf263 AUTOMAKE=automake-17 ACLOCAL=aclocal-17
    114 build.cmd               ./CompileScript.sh
    115 
    116 destroot.cmd            ./InstallScript.sh
    117 post-destroot {
    118     xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
    119     xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING INSTALL README README.pam ${destroot}${prefix}/share/doc/${name}
    120 }
    121 
    122 post-activate {
    123     system "${prefix}/bin/fc-cache -fv ${prefix}/share/fonts"
    124 }
    125 
    126 universal_variant       no
    127 
    128 variant doxygen description {Include API documentation} {
    129     depends_lib-append port:doxygen \
    130                        path:bin/dot:graphviz
    131     post-patch {
    132         foreach f {CompileScript.sh InstallScript.sh} {
    133             reinplace "s|#apidox#||g" ${worksrcpath}/${f}
    134         }
    135     }
    136 }
    137 
    138 if {${os.platform} eq "darwin" && ${os.major} >= 10} {
    139     patchfiles-append   patch-kcontrol_info_info_osx.cpp.diff
    140 }
    141 
    142 platform puredarwin {
    143     configure.args-append --disable-mac --without-composite
    144 }
    145 
    146 livecheck.type          none
     31livecheck.type  none
Note: See TracChangeset for help on using the changeset viewer.