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

    version 3.2.8

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


      The watch Portfile 58528 2009-09-30 10:29:33Z ryandesign macports.org $

      PortSystem 1.0
      Name: watch
      Version: 3.2.8
      Category: sysutils
      Maintainers: yahoo.com:mjhsieh
      Description: watch executes a program periodically, showing output fullscreen
      Long Description: watch is like "top" for arbitrary commands. It runs command repeatedly, displaying its output (the first screen full). This allows you to watch the program output change over time. This is part of the linux "procps" package

      Homepage: http://sourceforge.net/projects/procps/
      Master Sites: http://procps.sourceforge.net/
      distname procps-${version}
      Platform: darwin
      Checksums: md5 9532714b6846013ca9898984ba4cd7e0 sha1 a0c86790569dec26b5d9037e8868ca907acc9829

      use_configure no

      depends_lib port:ncurses

      build.target watch
      build.args CC=${configure.cc} LDFLAGS="${configure.ldflags}" PKG_LDFLAGS=""

      pre-build {
      build.args-append CPPFLAGS="[exec ${prefix}/bin/ncurses5-config --cflags]"
      }

      destroot {
      xinstall -m 0755 ${worksrcpath}/watch ${destroot}${prefix}/bin
      xinstall -m 0644 ${worksrcpath}/watch.1 ${destroot}${prefix}/share/man/man1
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.