Changeset 125794


Ignore:
Timestamp:
Sep 26, 2014, 3:23:13 PM (5 years ago)
Author:
nicos@…
Message:

konversation11: making port obsolete

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

Legend:

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

    r111849 r125794  
    11# $Id$
    22
     3#Port made obsolete on 2014/09/26
    34PortSystem       1.0
    45
    56name             konversation11
    67version          1.1
    7 revision         1
    8 set kdeadmin     kde-admindir-1024
    9 categories       kde kde3
    10 license          GPL-2+
     8revision         2
     9
     10replaced_by      konversation
     11
     12platforms        darwin
    1113maintainers      nomaintainer
    12 description      KDE IRC client.\
    13                  NB No KDE sound support.
    14 long_description ${description}
    15 platforms        darwin
    16 homepage         http://konversation.kde.org/
    17 master_sites     http://download.berlios.de/konversation \
    18                  http://ranger.users.finkproject.org/distfiles/kde-admindir/:admin \
    19                  http://ranger.befunk.com/fink/kde-admindir/:admin \
    20                  http://astrange.ithinksw.net/~astrange/ranger-fink/kde-admindir/:admin \
    21                  http://www.southofheaven.net/befunk/kde-admindir/:admin
    22 use_bzip2        yes
    23 distname         konversation-${version}
    24 distfiles        ${distname}.tar.bz2 ${kdeadmin}.tar.bz2:admin
     14supported_archs  noarch
     15description      this port is only a stub and has been made obsolete by ${replaced_by}
     16default long_description ${description}
    2517
    26 depends_build    port:autoconf263 \
    27                  port:doxygen \
    28                  path:bin/dot:graphviz \
    29                  port:unsermake
     18homepage        http://www.macports.org/
    3019
    31 depends_lib      port:kdebase3
     20archive_sites
     21distfiles
    3222
    33 checksums        ${distname}.tar.bz2 md5 0d38a16747ab4f6549863de385cb551c \
    34                  ${kdeadmin}.tar.bz2 md5 d99491aa5d520fd1d70393a718019322
    35 
    36 extract.only     ${distname}.tar.bz2
    37 post-extract { system "cd ${worksrcpath} && bzcat -dc ${distpath}/${kdeadmin}.tar.bz2 | tar xf -" }
    38 
    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         system "echo \"KDE_ENABLE_HIDDEN_VISIBILITY\" >> ${worksrcpath}/configure.in.in"
     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 be able to install KDE4. This can be done 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"
    4629}
    4730
    48 post-patch      {
    49         reinplace "s|/lib/freetype219||g" ${worksrcpath}/environment-helper.sh
    50         reinplace "s|--with-ssl-dir=/usr|--with-ssl-dir=\$PREFIX|g" ${worksrcpath}/environment-helper.sh
    51         reinplace "s|HOME=/tmp|HOME=${workpath}|g" ${worksrcpath}/environment-helper.sh
    52         reinplace "s|/tmp/buildlog|${workpath}/buildlog|g" ${worksrcpath}/build-helper.sh
    53         foreach f {CompileScript.sh InstallScript.sh} {
    54             copy ${filespath}/${f} ${worksrcpath}
    55             reinplace "s|%p|${prefix}|g" ${worksrcpath}/${f}
    56             reinplace "s|%N|${name}|g" ${worksrcpath}/${f}
    57             reinplace "s|%v|${version}|g" ${worksrcpath}/${f}
    58             reinplace "s|%r|${revision}|g" ${worksrcpath}/${f}
    59             reinplace "s|%c|${configure.args}|g" ${worksrcpath}/${f}
    60             reinplace "s|%d|${destroot}|g" ${worksrcpath}/${f}
    61             reinplace "s|%i|${destroot}${prefix}|g" ${worksrcpath}/${f}
    62             file attributes ${worksrcpath}/${f} -permissions 0755
    63         }
    64 }
    65 
    66 configure.args  --with-distribution='MacPorts/Mac OS X' --without-arts
    67 
    68 use_configure       no
    69 
    70 use_parallel_build  yes
    71 build.env           MAKEFLAGS="-j${build.jobs}" AUTOCONF=autoconf263
    72 build.cmd           ./CompileScript.sh
    73 
    74 destroot.cmd        ./InstallScript.sh
    75 post-destroot   {
    76         xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
    77         xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog INSTALL README TODO ${destroot}${prefix}/share/doc/${name}
    78 }
     31livecheck.type  none
Note: See TracChangeset for help on using the changeset viewer.