Sunclock version 3.50pre1 - How to Download and Install on Mac OS X
Friday the 3rd of July, 2009

    sunclock  most recent diff


    version 3.50pre1

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


      The sunclock Portfile 42449 2008-11-21 17:43:07Z jeremyhu macports.org $

      PortSystem 1.0
      Name: sunclock
      Version: 3.50pre1
      extract.suffix .tgz
      Category: x11
      Maintainers: nomaintainer
      Description: shows Earth's surface illuminated by the Sun
      Long Description: This program is a clock that shows which portion of the Earth's surface is illuminated by the sun. It is designed to be usually iconic, but can be opened for a larger display with the time updated every second and both the local time zone and UTC displayed.
      Homepage: http://frmas.free.fr/li_1.htm
      Platform: darwin
      Master Sites: ftp://ftp.ac-grenoble.fr/ge/geosciences/
      Checksums: md5 6e07964a99848018432825c5b3297cc6
      depends_lib lib:libjpeg.62:jpeg
      depends_build bin:xmkmf:imake

      pre-configure {
      reinplace "s|DESTDIR=/usr|DESTDIR=${prefix}|" "${worksrcpath}/Imakefile"
      reinplace "s|MANDIR=/X11R6|MANDIR=/share|" "${worksrcpath}/Imakefile"
      reinplace "s|BINDIR=/X11R6/bin|BINDIR=/bin|" "${worksrcpath}/Imakefile"
      reinplace "s|#JLIBDIR=-L/usr/lib|JLIBDIR=-L${prefix}/lib|" "${worksrcpath}/Imakefile"
      reinplace "s|#JINC=-I/usr/include|JINC=-I${prefix}/include|" "${worksrcpath}/Imakefile"
      }

      use_xmkmf yes

      pre-build {
      reinplace "s|INCROOT = /usr/X11R6/include|INCROOT = ${prefix}/include|" "${worksrcpath}/Makefile"
      reinplace "s|#include ||" "${worksrcpath}/tildepath.c"
      }

      destroot.destdir DESTDIR=${destroot}${prefix} DOCHTMLDIR=/share/doc

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.