Ignore:
Timestamp:
Oct 4, 2014, 2:15:23 AM (5 years ago)
Author:
nicos@…
Message:

kde3 ports suite: make obsolete

File:
1 edited

Legend:

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

    r111875 r126114  
    11# $Id$
    22
    3 #Synced with Fink, revision 1.22
    4 
     3#Port made obsolete on 2014/10/04
    54PortSystem 1.0
    65
    76name            kdewebdev3
    87version         3.5.10
    9 revision        1
    10 set kdeadmin    kde-admindir-1502
    11 categories      kde kde3
    12 license         GPL-2
    13 maintainers     nomaintainer
    14 description     KDE web development tools. \
    15                 NB No KDE sound support.
    16 long_description ${description}
    17 platforms       darwin
    18 homepage        http://www.kde.org/
    19 master_sites    kde:stable/${version}/src/:kde \
    20                 http://ranger.users.finkproject.org/distfiles/kde-admindir/:admin \
    21                 http://ranger.befunk.com/fink/kde-admindir/:admin \
    22                 http://astrange.ithinksw.net/~astrange/ranger-fink/kde-admindir/:admin \
    23                 http://www.southofheaven.net/befunk/kde-admindir/:admin
    24 use_bzip2       yes
    25 distname        kdewebdev-${version}
    26 distfiles       ${distname}.tar.bz2:kde \
    27                 ${kdeadmin}.tar.bz2:admin
    28 dist_subdir     kde3
    29 depends_build   port:autoconf263 \
    30                 port:unsermake
    31 depends_lib     port:kdebase3
     8revision        2
    329
    33 checksums       ${distname}.tar.bz2 md5 7188f351158ca5a7613c3de4a6854b37 \
    34                 ${kdeadmin}.tar.bz2 md5 92a60282c1d81f38835ce7d495255cc3
     10replaced_by      kdewebdev
    3511
    36 extract.only    ${distname}.tar.bz2
    37 post-extract    { system "cd ${worksrcpath} && bzcat -dc ${distpath}/${kdeadmin}.tar.bz2 | tar xf -" }
     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}
    3817
    39 patchfiles     
    40 patch           {
    41                 foreach f $patchfiles {
    42                     system "cd ${worksrcpath} && sed -e 's,@FINKPREFIX@,${prefix},g' ${filespath}/${f} | patch -p1"
    43                 }
    44                 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/*"
    45 }
    46 post-patch      {
    47                 reinplace "s|/lib/freetype219||g" ${worksrcpath}/environment-helper.sh
    48                 reinplace "s|--with-ssl-dir=/usr|--with-ssl-dir=\$PREFIX|g" ${worksrcpath}/environment-helper.sh
    49                 reinplace "s|HOME=/tmp|HOME=${workpath}|g" ${worksrcpath}/environment-helper.sh
    50                 reinplace "s|/tmp/buildlog|${workpath}/buildlog|g" ${worksrcpath}/build-helper.sh
    51                 foreach f {CompileScript.sh InstallScript.sh} {
    52                     copy ${filespath}/${f} ${worksrcpath}
    53                     reinplace "s|%p|${prefix}|g" ${worksrcpath}/${f}
    54                     reinplace "s|%N|${name}|g" ${worksrcpath}/${f}
    55                     reinplace "s|%v|${version}|g" ${worksrcpath}/${f}
    56                     reinplace "s|%r|${revision}|g" ${worksrcpath}/${f}
    57                     reinplace "s|%c|${configure.args}|g" ${worksrcpath}/${f}
    58                     reinplace "s|%d|${destroot}|g" ${worksrcpath}/${f}
    59                     reinplace "s|%i|${destroot}${prefix}|g" ${worksrcpath}/${f}
    60                     file attributes ${worksrcpath}/${f} -permissions 0755
    61                 }
     18homepage        http://www.macports.org/
     19
     20archive_sites
     21distfiles
     22
     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"
    6229}
    6330
    64 configure.args  --with-distribution='MacPorts/Mac OS X' --without-arts
    65 
    66 use_configure       no
    67 
    68 use_parallel_build  yes
    69 build.env           MAKEFLAGS="-j${build.jobs}" AUTOCONF=autoconf263
    70 build.cmd           ./CompileScript.sh
    71 
    72 destroot.cmd        ./InstallScript.sh
    73 post-destroot   {
    74                 xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
    75                 xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog INSTALL README ${destroot}${prefix}/share/doc/${name}
    76 }
    77 
    78 universal_variant       no
    79 
    80 livecheck.type  none
     31livecheck.type  none
Note: See TracChangeset for help on using the changeset viewer.