Simh version v38-1 - How to Download and Install on Mac OS X
Sunday the 22nd of November, 2009

    version v38-1

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


      The simh Portfile 46830 2009-02-14 13:20:16Z gwright macports.org $

      PortSystem 1.0

      Name: simh
      Version: v38-1
      Revision: 1
      Category: emulators
      Platform: darwin
      Maintainers: gwright
      Description: A highly portable, multi-system simulator.
      Long Description: The Computer History Simulation Project is a loose Internet-based collective of people interested in restoring historically significant computer hardware and software systems by simulation. The goal of the project is to create highly portable system simulators and to publish them as freeware on the Internet, with freely available copies of significant or representative software.

      Homepage: http://simh.trailing-edge.com
      Master Sites: http://simh.trailing-edge.com/sources/

      Checksums: md5 e15f65a82e21ea49e14b438326d93d5c sha1 5eac2f8e50be11600727983e05072690a7066702 rmd160 f085c52ec92425f84f65b3f3605cb7aba8be7b32

      use_zip yes
      distname ${name}${version}
      worksrcdir .
      use_configure no

      pre-build { file mkdir ${worksrcpath}/BIN }

      depends_lib port:libpcap
      build.target "USE_NETWORK=1 all"

      build {
      # system "export OSTYPE"
      system "cd ${worksrcpath} && OSTYPE=darwin make USE_NETWORK=1 all"
      }

      post-extract {
      reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/makefile
      }

      destroot {
      set binaries {altair altairz80 eclipse gri h316 hp2100
      i1401 i1620 i7094 ibm1130 id16 id32 lgp
      nova pdp1 pdp10 pdp11 pdp15 pdp4 pdp7
      pdp8 pdp9 s3 sds vax vax780 }
      foreach binary $binaries {
      system "install -c -m 755 ${worksrcpath}/BIN/${binary} ${destroot}${prefix}/bin/simh-${binary}"
      }

      xinstall -d -m 755 ${destroot}${prefix}/share/simh/VAX
      xinstall -c -m 644 ${worksrcpath}/VAX/ka655x.bin ${destroot}${prefix}/share/simh/VAX
      }


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

     Where to find more information:

    Darwin Ports



    Lightbox this page.