From 8d72b02a66d608cb12833a21fdc35f89d2bf685b Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Wed, 25 Dec 1996 12:13:02 +0000 Subject: [PATCH] Mixal is a version the assembler and interpreter for Donald Knuth's mythical MIX computer, defined in: Donald E. Knuth, _The Art of Computer Programming, Vol. 1: Fundamental Algorithms_. Addison-Wesley, 1973 (2nd ed.) Some of us were playing with it at school... so I made a port of it. --- lang/mixal/Makefile | 37 +++++++++++++++++++++++++++++++++++++ lang/mixal/distinfo | 1 + lang/mixal/pkg-comment | 1 + lang/mixal/pkg-descr | 10 ++++++++++ lang/mixal/pkg-plist | 8 ++++++++ 5 files changed, 57 insertions(+) create mode 100644 lang/mixal/Makefile create mode 100644 lang/mixal/distinfo create mode 100644 lang/mixal/pkg-comment create mode 100644 lang/mixal/pkg-descr create mode 100644 lang/mixal/pkg-plist diff --git a/lang/mixal/Makefile b/lang/mixal/Makefile new file mode 100644 index 000000000000..67abdddb323e --- /dev/null +++ b/lang/mixal/Makefile @@ -0,0 +1,37 @@ +# ex:ts=8 +# New ports collection makefile for: mixal +# Version required: 1.06 +# Date created: 21-Dec-1996 +# Whom: David O'Brien +# +# $Id: Makefile,v 1.3 1996/11/18 09:54:53 asami Exp $ +# + +DISTNAME= mixal-1.06 +CATEGORIES= lang +MASTER_SITES= http://www.ccil.org/retro/ \ + ftp://locke.ccil.org/pub/retro/ +EXTRACT_SUFX= .shar.gz + +MAINTAINER= obrien@cs.ucdavis.edu + +EXTRACT_CMD= zcat +EXTRACT_BEFORE_ARGS= +EXTRACT_AFTER_ARGS= |/usr/bin/sed -e '1,/^This ought/d' |sh +NO_WRKSUBDIR= yes +ALL_TARGET= + +DOCDIR= ${PREFIX}/share/doc/mix + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/mix ${PREFIX}/bin +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/READ.ME ${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/MIX.DOC ${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/notes ${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/opcodes ${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/*.mix ${DOCDIR} +.endif + +.include diff --git a/lang/mixal/distinfo b/lang/mixal/distinfo new file mode 100644 index 000000000000..743d93c47f44 --- /dev/null +++ b/lang/mixal/distinfo @@ -0,0 +1 @@ +MD5 (mixal-1.06.shar.gz) = 1bb55ade10f299d3c256a52bb58e8150 diff --git a/lang/mixal/pkg-comment b/lang/mixal/pkg-comment new file mode 100644 index 000000000000..87513b426749 --- /dev/null +++ b/lang/mixal/pkg-comment @@ -0,0 +1 @@ +assembler and interpreter for Donald Knuth's mythical MIX computer diff --git a/lang/mixal/pkg-descr b/lang/mixal/pkg-descr new file mode 100644 index 000000000000..e02df69823a7 --- /dev/null +++ b/lang/mixal/pkg-descr @@ -0,0 +1,10 @@ +Mixal is a version the assembler and interpreter for Donald Knuth's +mythical MIX computer, defined in: + + Donald E. Knuth, _The Art of Computer Programming, Vol. 1: Fundamental + Algorithms_. Addison-Wesley, 1973 (2nd ed.) + + +This preliminary release doesn't do floating point and has little +documentation as yet, but it works well enough to be used in conjunction +with the book. diff --git a/lang/mixal/pkg-plist b/lang/mixal/pkg-plist new file mode 100644 index 000000000000..eb2103eae9af --- /dev/null +++ b/lang/mixal/pkg-plist @@ -0,0 +1,8 @@ +bin/mix +share/doc/mix/READ.ME +share/doc/mix/MIX.DOC +share/doc/mix/notes +share/doc/mix/opcodes +share/doc/mix/elevator.mix +share/doc/mix/mystery.mix +share/doc/mix/prime.mix