Molden version 4.8-20091005094400 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    version 4.8-20091005094400

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


      # -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
      The molden Portfile 58824 2009-10-06 00:20:41Z ryandesign macports.org $

      # I (Jochen Küpper) got explicit permission to distribute molden as a
      # MacPorts port, given that the source-code is always downloaded from
      # the authors webpage and we add a banner asking users to register at
      # the following web-page: http://www.cmbi.ru.nl/molden/form.html
      #
      # Feel free to update checksums whenever a stealth upgrade of molden is out...

      PortSystem 1.0
      PortGroup xcodeversion 1.0

      Name: molden
      Version: 4.8-20091005094400
      set version_number [lindex [split ${version} -] 0]
      Category: science graphics
      Maintainers: openmaintainer jochen
      Homepage: http://www.cmbi.ru.nl/molden/molden.html
      distname molden${version_number}
      dist_subdir ${name}/${version}
      Master Sites: ftp://ftp.cmbi.ru.nl/pub/molgraph/molden/
      Checksums: md5 935af63cd05774fdd0ed553280763d78 sha1 df14593611c560fed56963dff3edd0126ae6e3b7 rmd160 30d44f697d18a865a764af7c8bce30da1db230d8

      Description: Molecular graphics visualisation tool
      Long Description: Molden is a package for displaying Molecular Density from the Ab Initio packages GAMESS-UK , GAMESS-US and GAUSSIAN and the Semi-Empirical packages Mopac/Ampac, it also supports a number of other programs via the Molden Format. In order to keep up support for Molden, proof that it is being used outside the CMBI is required. Please register your copy of molden at: http://www.cmbi.ru.nl/molden/form.html

      Platform: darwin
      depends_build port:gmake
      depends_lib port:xorg-libX11
      Patch Files: patch-makefile.diff
      post-patch {
      reinplace "s| PREFIX |${prefix}|g" ${worksrcpath}/makefile
      }

      minimum_xcodeversions {9 3.1}
      use_parallel_build yes
      use_configure no
      build.target molden
      build.cmd gmake
      pre-build {
      build.args CC=${configure.cc} FC=${configure.fc}
      }

      destroot {
      xinstall -W ${worksrcpath} molden ${destroot}${prefix}/bin
      set docdir ${destroot}${prefix}/share/doc/molden
      xinstall -m 755 -d ${docdir}
      xinstall -W ${worksrcpath} COMMERCIAL_LICENSE CopyRight HISTORY README REGISTER ${docdir}
      }

      post-install { ui_msg "**************************************************"
      ui_msg "In order to keep up support for Molden, proof that"
      ui_msg "it is being used outside the CMBI is required."
      ui_msg "Please register your copy of molden at:"
      ui_msg "*** http://www.cmbi.ru.nl/molden/form.html ***"
      ui_msg "**************************************************"
      }

      Variant: gcc43 conflicts gcc44 description {Build using gcc43} {
      depends_lib-append port:gcc43
      configure.compiler macports-gcc-4.3
      }

      Variant: gcc44 conflicts gcc43 description {Build using gcc44} {
      depends_lib-append port:gcc44
      configure.compiler macports-gcc-4.4
      }

      if {![variant_isset gcc43] && ![variant_isset gcc44]} {
      default_variants +gcc43
      }

      Variant: opengl description "Install moldenogl OpenGL helper program" {
      depends_lib-append port:mesa
      build.target-append moldenogl
      post-destroot {
      xinstall -W ${worksrcpath} moldenogl ${destroot}${prefix}/bin
      }
      }

      livecheck.type regex
      livecheck.url http://www.ryandesign.com/macports/version.php/${name}
      livecheck.regex (.*)

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.