Xaw3d version 1.5E - How to Download and Install on Mac OS X
Friday the 3rd of July, 2009

    version 1.5E

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


      The xaw3d Portfile 42411 2008-11-21 06:07:51Z jeremyhu macports.org $

      PortSystem 1.0

      Name: Xaw3d
      Version: 1.5E
      Revision: 1
      Category: x11
      Maintainers: nomaintainer

      Description: The Three-D Athena Toolkit

      Long Description: This release of Xaw3d is based on X.Org's X11R6.3 Athena toolkit, with bits and pieces thrown in from other sources. It is intended to be a general-purpose replacement for the Athena (Xaw) toolkit. In general, you should be able to link almost any Athena-based application to this Xaw3d Athena toolkit, for a three-dimensional appearance on most of the widgets. On systems with shared libraries, you might be able replace your shared libXaw.* with libXaw3d.* to obtain the appearance without even relinking, but the odds of this working is slim, and not recommended.

      Homepage: http://www.visi.com/~hawkeyd/xaw3d.html
      Platform: darwin
      Master Sites: freebsd ftp://ftp.visi.com/users/hawkeyd/X/
      Checksums: md5 29ecfdcd6bcf47f62ecfd672d31269a1 sha1 efc5b923feda52866c859c59a5b553cb675a69d1 rmd160 086cbabaa45ce5c110815aea24eebcbb54613118
      depends_lib lib:libX11:xorg
      depends_build bin:xmkmf:imake
      worksrcdir xc/lib/${name}

      patch {
      reinplace "s|XCOMM EXTRA_INCLUDES|EXTRA_INCLUDES|" "${worksrcpath}/Imakefile"
      file mkdir ${worksrcpath}/X11
      system "ln -fs .. ${worksrcpath}/X11/Xaw3d"
      }
      use_xmkmf yes

      post-configure {
      reinplace "s|-o root -g wheel|-o ${install.user} -g ${install.group}|" ${worksrcpath}/Makefile
      }

      use_parallel_build yes

      # The Imakefile default is to install everything into /usr/X11R6/lib,
      # which prevents multiple MacPorts installs on the same system. Have
      # it install the entire package into ${prefix} instead.
      build.target-append SHLIBGLOBALSFLAGS=-L${x11prefix}/lib INCDIR=${prefix}/include SHLIBDIR=${prefix}/lib USRLIBDIR=${prefix}/lib

      destroot.destdir-append INCDIR=${prefix}/include SHLIBDIR=${prefix}/lib USRLIBDIR=${prefix}/lib

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.