1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

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.
This commit is contained in:
David E. O'Brien 1996-12-25 12:13:02 +00:00
parent 12bfcfc1d8
commit 8d72b02a66
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=5088
5 changed files with 57 additions and 0 deletions

37
lang/mixal/Makefile Normal file
View File

@ -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 <obrien@cs.ucdavis.edu>
#
# $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 <bsd.port.mk>

1
lang/mixal/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (mixal-1.06.shar.gz) = 1bb55ade10f299d3c256a52bb58e8150

1
lang/mixal/pkg-comment Normal file
View File

@ -0,0 +1 @@
assembler and interpreter for Donald Knuth's mythical MIX computer

10
lang/mixal/pkg-descr Normal file
View File

@ -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.

8
lang/mixal/pkg-plist Normal file
View File

@ -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