Kdesdk3 version 3.5.8 - How to Download and Install on Mac OS X
Friday the 3rd of July, 2009

    kdesdk3  most recent diff


    version 3.5.8

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


      The kdesdk3 Portfile 37646 2008-06-17 04:15:00Z takanori macports.org $

      #Synced with Fink, Version 3.5.8-1021

      PortSystem 1.0
      Name: kdesdk3
      Version: 3.5.8
      Revision: 1
      set kdeadmin kde-admindir-1024
      Category: kde
      Maintainers: nomaintainer
      Description: KDE SDK. NB No KDE sound support. No SVN support.
      Long Description: ${description}
      Platform: darwin
      Homepage: http://www.kde.org/
      Master Sites: kde:stable/${version}/src/:kde358 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 kdesdk-${version}
      distfiles ${distname}.tar.bz2:kde358 ${kdeadmin}.tar.bz2:admin
      depends_build port:autoconf port:unsermake
      depends_lib port:db46 port:kdebase3 port:kdepim3
      # port:subversion

      Checksums: ${distname}.tar.bz2 md5 c809c15eb8c09a7eb2d070395202910b ${kdeadmin}.tar.bz2 md5 d99491aa5d520fd1d70393a718019322

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

      Patch Files: kdesdk3.patch
      patch {
      foreach file $patchfiles {
      system "cd ${worksrcpath} && sed -e 's, FINKPREFIX ,${prefix},g' ${filespath}/${file} | 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 file {CompileScript.sh InstallScript.sh} {
      file copy ${filespath}/${file} ${worksrcpath}
      reinplace "s|%p|${prefix}|g" ${worksrcpath}/${file}
      reinplace "s|%N|${name}|g" ${worksrcpath}/${file}
      reinplace "s|%v|${version}|g" ${worksrcpath}/${file}
      reinplace "s|%r|${revision}|g" ${worksrcpath}/${file}
      reinplace "s|%c|${configure.args}|g" ${worksrcpath}/${file}
      reinplace "s|%d|${destroot}|g" ${worksrcpath}/${file}
      reinplace "s|%i|${destroot}${prefix}|g" ${worksrcpath}/${file}
      file attributes ${worksrcpath}/${file} -permissions 0755
      }
      reinplace "s|doc/HTML|doc/kde|g" ${worksrcpath}/scripts/kdedoc
      }
      post-patch {
      # Avoid using heimdal's broken fnmatch.h
      reinplace "s|<\\(fnmatch\.h\\)>|\"/usr/include/\\1\"|" ${worksrcpath}/cervisia/stringmatcher.cpp
      }

      configure.args --with-db-name=db-4.6 --with-db-include-dir=${prefix}/include/db46 --with-db-lib-dir=${prefix}/lib/db46 --with-distribution='MacPorts/Mac OS X' --without-subversion --without-arts

      configure {}
      use_parallel_build yes
      build { set makejobs [build_getmakejobs]
      system "cd ${worksrcpath} && MAKEFLAGS=\"${makejobs}\" ./CompileScript.sh" }
      destroot { system "cd ${worksrcpath} && ./InstallScript.sh" }

      post-destroot {
      xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
      xinstall -m 644 -W ${worksrcpath} COPYING README ${destroot}${prefix}/share/doc/${name}
      }

      universal_variant no

      livecheck.check 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/kdesdk3
      % sudo port install kdesdk3
      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 kdesdk3
      ---> Verifying checksum for kdesdk3
      ---> Extracting kdesdk3
      ---> Configuring kdesdk3
      ---> Building kdesdk3 with target all
      ---> Staging kdesdk3 into destroot
      ---> Installing kdesdk3
    - 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 kdesdk3 with these commands:
      %  man kdesdk3
      % apropos kdesdk3
      % which kdesdk3
      % locate kdesdk3

     Where to find more information:

    Darwin Ports



    Lightbox this page.