kdebase3 version 3.5.8 for Mac OS X 10.5 Leopard
Wednesday the 14th of May, 2008

    kdebase3  most recent diff


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



      # $Id: Portfile 30599 2007-11-01 10:31:15Z takanori macports.org $

      #Synced with Fink, Version 3.5.8-1021

      PortSystem 1.0
      Name: kdebase3
      Version: 3.5.8
      set kdeadmin kde-admindir-1024
      Category: kde
      Maintainers: nomaintainer
      Description: Base KDE programs -- e.g. kicker (taskbar). NB No KDE sound 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 kdebase-${version}
      distfiles ${distname}.tar.bz2:kde358 ${kdeadmin}.tar.bz2:admin
      depends_build port:autoconf port:unsermake
      depends_lib port:cyrus-sasl2 port:kdelibs3 port:libusb
      # port:openmotif

      checksums ${distname}.tar.bz2 md5 9990c669229daaaa8fca4c5e354441fd ${kdeadmin}.tar.bz2 md5 d99491aa5d520fd1d70393a718019322

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

      patchfiles kdebase3-unified.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/*"
      system "perl -pi -e 's/-Xlinker -framework -Xlinker (\\S*)/-Wl,-framework,\$1/g; s/-framework (\\S*)/-Wl,-framework,\$1/g;' ${worksrcpath}/configure"
      }
      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}/khelpcenter/searchhandlers/khc_docbookdig.pl.in
      reinplace "s|doc/HTML|doc/kde|g" ${worksrcpath}/doc/userguide/kde-for-admins.docbook
      # init.sh doesn't exist in MacPorts
      reinplace "s|\\(source \"${prefix}/bin/init.sh\"\\)|#\\1|g" ${worksrcpath}/startkde
      }

      configure.args --with-sudo-kdesu-backend --without-nfs --with-ldap=framework --with-distribution='MacPorts/Mac OS X' --without-arts

      configure {}
      build { system "cd ${worksrcpath} && ./CompileScript.sh" }
      destroot { system "cd ${worksrcpath} && ./InstallScript.sh" }

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

      post-activate {
      system "${prefix}/bin/fc-cache -fv ${prefix}/share/fonts"
      }

      universal_variant no

      Variant: with_doxygen {
      depends_lib-append port:doxygen
      post-patch { foreach f {CompileScript.sh InstallScript.sh} { reinplace "s|#apidox#||g" ${worksrcpath}/${f} }}
      }

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

     Where to find more information:

    Darwin Ports



    image test