aboutsummaryrefslogtreecommitdiffstats
path: root/lang/mixal/Makefile
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/mixal/Makefile
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/mixal/Makefile')
-rw-r--r--lang/mixal/Makefile37
1 files changed, 37 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>