mdk version 1.2.3 for Mac OS X 10.5 Leopard
Saturday the 17th of May, 2008

    mdk  most recent diff


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



      # $Id: Portfile 32300 2007-12-23 21:46:38Z ryandesign macports.org $

      PortSystem 1.0

      Name: mdk
      Version: 1.2.3
      Category: lang
      Maintainers: aconchillo gmail.com
      Platform: darwin
      Description: A set of utilities for developing programs using MIX and MIXAL
      Long Description: MDK stands for MIX Development Kit, and provides tools for developing and executing, in a MIX virtual machine, MIXAL programs. The MIX is Donald Knuth's mythical computer, described in the first volume of The Art of Computer Programming, which is programmed using MIXAL, the MIX assembly language. MDK includes a MIXAL assembler (mixasm) and a MIX virtual machine (mixvm) with a command line interface. In addition, a GTK+ GUI to mixvm, called gmixvm, and a Guile interpreter with an embedded MIX virtual machine called mixguile, are provided. Using these interfaces, you can debug your MIXAL programs at source code level, and read/modify the contents of all the components of the MIX computer (including block devices, which are simulated using the file system).
      Homepage: http://www.gnu.org/software/mdk/mdk.html
      master_sites gnu:mdk/v${version}/
      checksums md5 1c74ec62c847792706be412289c8152b

      depends_build port:automake

      depends_lib port:pkgconfig port:guile port:glib2 port:gmp port:bison port:gettext port:libiconv port:readline port:ncurses port:libtool port:intltool

      patchfiles patch-lib-Makefile.am patch-lib-foo.c patch-mixlib-xmix_vm.c

      configure.cflags-append "-I${prefix}/include"
      configure.args --disable-gui --mandir=${prefix}/share/man --infodir=${prefix}/share/info

      build.type gnu
      use_automake yes
      use_autoconf yes

      post-extract {
      system "touch ${worksrcpath}/lib/foo.c"
      system "cd ${worksrcpath} && aclocal -I m4"
      }

      Variant: gui {
      configure.args-delete --disable-gui
      depends_lib-append port:gtk2 port:libglade2

      patchfiles-append patch-mixgtk-Makefile.am
      }


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

     Where to find more information:

    Darwin Ports



    image test