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

    gkrellm  most recent diff


    version 2.3.2

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


      The gkrellm Portfile 42091 2008-11-15 02:03:24Z markd macports.org $
      PortSystem 1.0

      Name: gkrellm
      Version: 2.3.2
      Category: sysutils
      Maintainers: markd openmaintainer

      Description: A GTK based system monitor
      Long Description: ${description}

      Homepage: http://members.dslextreme.com/users/billw/gkrellm/gkrellm.html

      Platform: darwin
      Master Sites: http://members.dslextreme.com/users/billw/gkrellm/
      Checksums: md5 d5543a439ee77950282d06b000048be7 sha1 fe94996c4fe084c28bf7a7fbc3f8d4fd64724ac0 rmd160 0aacc0d0783cff5bb2fd8c6736553a3ce8874ad9
      use_bzip2 yes

      depends_lib port:gtk2

      use_configure no

      build.type gnu
      build.env CPPFLAGS="-L${prefix}/lib -I${prefix}/include" CFLAGS=-I${prefix}/include LDFLAGS=-L${prefix}/lib

      build.target darwin
      destroot.target install_darwin

      set plugin_dir ${prefix}/libexec/gkrellm2/plugins
      set theme_dir ${prefix}/share/gkrellm2/themes

      platform darwin 9 {
      patchfiles-append patch-Makefile.diff
      }

      post-patch {
      reinplace "s|\$(PREFIX)|${prefix}|g" "${worksrcpath}/Makefile"

      reinplace "s|/usr/local/share/gkrellm2/themes|${theme_dir}|g" "${worksrcpath}/src/gkrellm.h"

      reinplace "s|/usr/share/gkrellm2/themes|${theme_dir}|g" "${worksrcpath}/src/gkrellm.h"

      reinplace "s|/usr/local/lib/gkrellm2/plugins|${plugin_dir}|g" "${worksrcpath}/src/gkrellm.h"

      reinplace "s|/usr/lib/gkrellm2/plugins|${plugin_dir}|g" "${worksrcpath}/src/gkrellm.h"
      }

      post-destroot {
      xinstall -m 755 -d ${destroot}${theme_dir}
      xinstall -m 755 -d ${destroot}${plugin_dir}

      destroot.keepdirs ${destroot}${theme_dir} ${destroot}${plugin_dir}
      }

      post-activate {
      ui_msg "\n

      After the first launch of GkrellM, the directory ~/.gkrellm2/
      is created that contains the file user-config to keep your
      settings, and also contains directories named themes/ and plugins/.
      However, the plugins and themes directories for this port of
      GkrellM are fixed at these locations:

      ${plugin_dir}
      ${theme_dir}
      \n"
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.