Kdetoys3 version 3.5.10 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    kdetoys3  most recent diff


    version 3.5.10

      View the most recent changes for the kdetoys3 port at: kdetoys3.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for kdetoys3.
      The raw portfile for kdetoys3 3.5.10 is located here:
      http://kdetoys3.darwinports.com/dports/kde/kdetoys3/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/kdetoys3


      The kdetoys3 Portfile 57375 2009-09-10 08:16:41Z ryandesign macports.org $

      #Synced with Fink, revision 1.22

      PortSystem 1.0
      Name: kdetoys3
      Version: 3.5.10
      Revision: 1
      set kdeadmin kde-admindir-1502
      Category: kde kde3
      Maintainers: nomaintainer
      Description: KDE toys. NB No KDE sound support.
      Long Description: ${description}
      Platform: darwin
      Homepage: http://www.kde.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
      use_bzip2 yes
      distname kdetoys-${version}
      distfiles ${distname}.tar.bz2:kde ${kdeadmin}.tar.bz2:admin
      dist_subdir kde3
      depends_build port:autoconf263 port:unsermake
      depends_lib port:kdebase3

      Checksums: ${distname}.tar.bz2 md5 1da4383e2d520dfd572edb33b708822d ${kdeadmin}.tar.bz2 md5 92a60282c1d81f38835ce7d495255cc3

      extract.only ${distname}.tar.bz2
      post-extract { system "cd ${worksrcpath} && bzcat -dc ${distpath}/${kdeadmin}.tar.bz2 | tar xf -" }

      Patch Files: kdetoys3.patch
      patch {
      foreach f $patchfiles {
      system "cd ${worksrcpath} && sed -e 's, 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/*"
      }
      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
      }
      }

      configure.args --with-distribution='MacPorts/Mac OS X' --without-arts

      use_configure no

      use_parallel_build yes
      build.env MAKEFLAGS="-j${build.jobs}" AUTOCONF=autoconf263
      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 ${destroot}${prefix}/share/doc/${name}
      }

      universal_variant no

      livecheck.type none

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/kdetoys3
      % sudo port install kdetoys3
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching kdetoys3
      ---> Verifying checksum for kdetoys3
      ---> Extracting kdetoys3
      ---> Configuring kdetoys3
      ---> Building kdetoys3 with target all
      ---> Staging kdetoys3 into destroot
      ---> Installing kdetoys3
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using kdetoys3 with these commands:
      %  man kdetoys3
      % apropos kdetoys3
      % which kdetoys3
      % locate kdetoys3

     Where to find more information:

    Darwin Ports



    Lightbox this page.