aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1996-12-25 20:13:02 +0800
committerobrien <obrien@FreeBSD.org>1996-12-25 20:13:02 +0800
commitc33708d15becdb04d948230ced5ab78405252f89 (patch)
treec739ed282f2af21ad389941c421e47cf7088bfd4 /lang
parentbf9a7c9c1751779682885658822c34543746105c (diff)
downloadfreebsd-ports-graphics-c33708d15becdb04d948230ced5ab78405252f89.tar.gz
freebsd-ports-graphics-c33708d15becdb04d948230ced5ab78405252f89.tar.zst
freebsd-ports-graphics-c33708d15becdb04d948230ced5ab78405252f89.zip
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.
Diffstat (limited to 'lang')
-rw-r--r--lang/mixal/Makefile37
-rw-r--r--lang/mixal/distinfo1
-rw-r--r--lang/mixal/pkg-comment1
-rw-r--r--lang/mixal/pkg-descr10
-rw-r--r--lang/mixal/pkg-plist8
5 files changed, 57 insertions, 0 deletions
diff --git a/lang/mixal/Makefile b/lang/mixal/Makefile
new file mode 100644
index 00000000000..67abdddb323
--- /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 <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>
diff --git a/lang/mixal/distinfo b/lang/mixal/distinfo
new file mode 100644
index 00000000000..743d93c47f4
--- /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 00000000000..87513b42674
--- /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 00000000000..e02df69823a
--- /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 00000000000..eb2103eae9a
--- /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