Openmotif version 2.3.1-1 - How to Download and Install on Mac OS X
Friday the 3rd of July, 2009

    openmotif  most recent diff


    version 2.3.1-1

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


      The openmotif Portfile 42424 2008-11-21 09:52:53Z ryandesign macports.org $

      PortSystem 1.0

      Name: openmotif
      Version: 2.3.1-1
      set branch [join [lrange [split ${version} .] 0 1] .]
      set subdir [lindex [split ${version} -] 0]
      worksrcdir ${name}-${subdir}
      Category: x11
      Platform: darwin
      Maintainers: nomaintainer
      Description: The Open Motif toolkit for X11

      Long Description: This is The Open Group's full version of Motif based on the original OSF sources.

      Homepage: http://www.motifzone.net/
      Master Sites: http://ftp.ics.com/openmotif/${branch}/${subdir}/ ftp://ftp.ics.com/openmotif/${branch}/${subdir}/
      fetch.use_epsv no

      Checksums: md5 1372108f50f3554ee2f28367ff76bd32 sha1 3245375f4bd8e2d2eb02c2636d5491e834d8bb1a rmd160 e03422204b6077fa6556894f194236d40e92e42b

      depends_lib port:jpeg port:libpng port:Xft2 port:fontconfig port:freetype port:libiconv port:xrender port:zlib lib:libX11.6:XFree86

      Patch Files: patch-demos-programs-peridoc-Makefile.in.diff patch-lib-Mrm-Makefile.in.diff

      post-patch {
      reinplace "s|iconv_open|libiconv_open|g" ${worksrcpath}/configure
      reinplace -E "/^LDFLAGS/s|\$| LDFLAGS |" ${worksrcpath}/lib/Xm/Makefile.in
      }

      configure.args --mandir=${prefix}/share/man --enable-xft --with-fontconfig-config=${prefix}/bin/freetype-config --with-fontconfig-includes=${prefix}/include --with-fontconfig-lib=${prefix}/lib --with-freetype-includes=${prefix}/include --with-freetype-lib=${prefix}/lib --enable-jpeg --with-libjpeg-includes=${prefix}/include --with-libjpeg-lib=${prefix}/lib --enable-png --with-libpng-includes=${prefix}/include --with-libpng-lib=${prefix}/lib

      build.env LANG=C

      post-destroot {
      set docdir ${prefix}/share/doc/${name}-${version}
      xinstall -d ${destroot}${docdir}
      xinstall -m 0644 -W ${worksrcpath} BUGREPORT COPYRIGHT.MOTIF ChangeLog LICENSE README RELNOTES TODO ${destroot}${docdir}
      }

      platform darwin 7 {
      patchfiles-append patch-freetype.diff
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.