Changeset 126194 for trunk/dports/kde


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

kdelibs3: made obsolete

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

Legend:

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

    r115019 r126194  
    11# $Id$
    22
    3 #Synced with Fink, revision 1.32
    4 
     3#Port made obsolete on 2014/10/05
    54PortSystem              1.0
    65
    76name                    kdelibs3
    87version                 3.5.10
    9 revision                17
    10 set kdeadmin            kde-admindir-1502
    11 categories              kde kde3
    12 license                 LGPL
    13 maintainers             nomaintainer
     8revision                18
    149
    15 description             Essential libraries for KDE applications. \
    16                         NB No KDE sound support.
     10replaced_by      kdelibs4
    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                kdelibs-${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:pkgconfig \
    38                         port:unsermake
    39 
    40 depends_lib             lib:libpoll:poll-emulator \
    41                         port:mesa \
    42                         port:aspell \
    43                         port:bzip2 \
    44                         port:expat \
    45                         port:flex \
    46                         port:gettext \
    47                         path:lib/pkgconfig/glib-2.0.pc:glib2 \
    48                         port:hicolor-icon-theme \
    49                         port:jasper \
    50                         port:jpeg \
    51                         port:libart_lgpl \
    52                         port:libidn \
    53                         port:libiconv \
    54                         port:libpng \
    55                         port:libxml2 \
    56                         port:libxslt \
    57                         port:pcre \
    58                         port:tiff \
    59                         port:openexr \
    60                         port:openssl \
    61                         path:bin/perl:perl5 \
    62                         port:qt3 \
    63                         port:zlib
    64 #                       port:dbus
    65 #                       port:dbus-qt3
    66 #                       port:hal
    67 
    68 depends_run             port:dejavu-fonts
    69 #                       port:shared-mime-info
    70 
    71 conflicts               kdelibs4
    72 
    73 checksums               ${distname}.tar.bz2 md5 43cd55ed15f63b5738d620ef9f9fd568 \
    74                         ${kdeadmin}.tar.bz2 md5 92a60282c1d81f38835ce7d495255cc3
    75 
    76 extract.only            ${distname}.tar.bz2
    77 
    78 post-extract {
    79     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"
    8029}
    8130
    82 patchfiles              kdelibs3-unified.patch \
    83                         macports-x11.patch \
    84                         patch-kio_misc_kpac_configure.in.in.diff \
    85                         patch-kio_misc_kpac_discovery.cpp.diff \
    86                         patch_kinit_lnusertemp.c.diff \
    87                         oCERT-2009-015.patch \
    88                         kdelibs-3.5.10-ossl-1.x.patch \
    89                         patch-kio_misc_kssld_Makefile.am.diff \
    90                         patch-stdio.diff \
    91                         patch-admin_cvs.sh.diff \
    92                         patch-environment-helper.sh.diff
    93 
    94 patch {
    95     foreach f $patchfiles {
    96         system "cd ${worksrcpath} && sed -e 's,@FINKPREFIX@,${prefix},g' ${filespath}/${f} | patch -p1"
    97     }
    98     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/*"
    99 }
    100 
    101 post-patch {
    102     reinplace "s|/lib/freetype219||g" ${worksrcpath}/environment-helper.sh
    103     reinplace "s|--with-ssl-dir=/usr|--with-ssl-dir=\$PREFIX|g" ${worksrcpath}/environment-helper.sh
    104     reinplace "s|HOME=/tmp|HOME=${workpath}|g" ${worksrcpath}/environment-helper.sh
    105     reinplace "s|/tmp/buildlog|${workpath}/buildlog|g" ${worksrcpath}/build-helper.sh
    106     foreach f {CompileScript.sh InstallScript.sh} {
    107         copy ${filespath}/${f} ${worksrcpath}
    108         reinplace "s|%p|${prefix}|g" ${worksrcpath}/${f}
    109         reinplace "s|%N|${name}|g" ${worksrcpath}/${f}
    110         reinplace "s|%v|${version}|g" ${worksrcpath}/${f}
    111         reinplace "s|%r|${revision}|g" ${worksrcpath}/${f}
    112         reinplace "s|%c|${configure.args}|g" ${worksrcpath}/${f}
    113         reinplace "s|%d|${destroot}|g" ${worksrcpath}/${f}
    114         reinplace "s|%i|${destroot}${prefix}|g" ${worksrcpath}/${f}
    115         file attributes ${worksrcpath}/${f} -permissions 0755
    116     }
    117     foreach f {kdeglobals konsolerc} {
    118         # Monaco CY is not a standard font in Tiger.
    119         reinplace "s|Monaco CY|DejaVu Sans Mono|g" ${worksrcpath}/darwin/${f}
    120         reinplace "s|Baghdad|DejaVu Sans|g" ${worksrcpath}/darwin/${f}
    121     }
    122     system "echo \"\[FMSettings\]\nStandardFont=DejaVu Sans,10,-1,5,50,0,0,0,0,0\" > ${worksrcpath}/darwin/kdesktoprc"
    123 }
    124 
    125 configure.args          --without-lua \
    126                         --enable-cups \
    127                         --with-ldap=framework \
    128                         --with-gssapi=framework \
    129                         --with-distribution='MacPorts/Mac OS X' \
    130                         --without-arts
    131 
    132 use_configure           no
    133 
    134 use_parallel_build      yes
    135 build.env               MAKEFLAGS="-j${build.jobs}" AUTOCONF=autoconf263 AUTOMAKE=automake-17 ACLOCAL=aclocal-17 \
    136                         CC=${configure.cc} CXX=${configure.cxx}
    137 build.cmd               ./CompileScript.sh
    138 
    139 destroot.cmd            ./InstallScript.sh
    140 post-destroot {
    141     xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
    142     xinstall -m 644 -W ${worksrcpath} COPYING COPYING.LIB INSTALL ${destroot}${prefix}/share/doc/${name}
    143 }
    144 
    145 universal_variant       no
    146 
    147 variant doxygen description {Include API documentation} {
    148     depends_lib-append port:doxygen \
    149                        path:bin/dot:graphviz
    150     post-patch {
    151         foreach f {CompileScript.sh InstallScript.sh} {
    152             reinplace "s|#apidox#||g" ${worksrcpath}/${f}
    153         }
    154     }
    155 }
    156 
    157 variant libthai description {Add Thai language support} {
    158     depends_lib-append          port:libdatrie \
    159                                 port:libthai
    160     configure.args-append       --with-libthai=yes
    161 }
    162 
    163 livecheck.type          none
     31livecheck.type  none
Note: See TracChangeset for help on using the changeset viewer.