diff options
author | jtb <jtb@pkgsrc.org> | 2001-04-12 21:52:13 +0000 |
---|---|---|
committer | jtb <jtb@pkgsrc.org> | 2001-04-12 21:52:13 +0000 |
commit | f27dd7325aad4126137c927c93f26229c4cc21c1 (patch) | |
tree | ef0b0341f65035b78082987cc782292541e90f0c /emulators/mmix | |
parent | 605e474a345e6a6eae3deeff292f40778cca87f3 (diff) | |
download | pkgsrc-f27dd7325aad4126137c927c93f26229c4cc21c1.tar.gz |
Initial import of mmix:
Simulators for MMIX, a RISC machine designed by Professor Donald Knuth
to replace MIX in the ultimate editions of his monumental opus
``The Art of Computer Programming''.
The programs are described in
MMIXware by Donald E. Knuth
Lecture Notes in Computer Science 1750 (Springer Verlag, Heidelberg, 1999).
Diffstat (limited to 'emulators/mmix')
-rw-r--r-- | emulators/mmix/Makefile | 28 | ||||
-rw-r--r-- | emulators/mmix/files/md5 | 3 | ||||
-rw-r--r-- | emulators/mmix/files/patch-sum | 3 | ||||
-rw-r--r-- | emulators/mmix/patches/patch-aa | 13 | ||||
-rw-r--r-- | emulators/mmix/pkg/DESCR | 8 | ||||
-rw-r--r-- | emulators/mmix/pkg/PLIST | 64 |
6 files changed, 119 insertions, 0 deletions
diff --git a/emulators/mmix/Makefile b/emulators/mmix/Makefile new file mode 100644 index 00000000000..8948b649556 --- /dev/null +++ b/emulators/mmix/Makefile @@ -0,0 +1,28 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/04/12 21:52:13 jtb Exp $ + +DISTNAME= mmix +PKGNAME= mmix-20000918 +CATEGORIES= emulators devel lang +MASTER_SITES= http://www-cs-faculty.stanford.edu/~knuth/programs/ + +MAINTAINER= packages@netbsd.org +COMMENT= Simulators for Knuth's MMIX RISC architecture + +BUILD_DEPENDS+= cweb-*:../../devel/cweb + +DIST_SUBDIR= ${PKGNAME} +NO_WRKSUBDIR= yes + +ALL_TARGET= all doc + +do-install: + cd ${WRKSRC} && ${INSTALL_PROGRAM} abstime mmix mmixal \ + mmmix mmotype ${PREFIX}/bin + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mmix + cd ${WRKSRC} && ${INSTALL_DATA} README *.ps \ + ${PREFIX}/share/doc/mmix + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mmix + cd ${WRKSRC} && ${INSTALL_DATA} *.mms *.mmix *.mmconfig \ + ${PREFIX}/share/examples/mmix + +.include "../../mk/bsd.pkg.mk" diff --git a/emulators/mmix/files/md5 b/emulators/mmix/files/md5 new file mode 100644 index 00000000000..3a803da58bb --- /dev/null +++ b/emulators/mmix/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2001/04/12 21:52:13 jtb Exp $ + +SHA1 (mmix-20000918/mmix.tar.gz) = 8436221d4f078716941b19873acb3f89c7013d95 diff --git a/emulators/mmix/files/patch-sum b/emulators/mmix/files/patch-sum new file mode 100644 index 00000000000..b5dbd2fe158 --- /dev/null +++ b/emulators/mmix/files/patch-sum @@ -0,0 +1,3 @@ +$NetBSD: patch-sum,v 1.1.1.1 2001/04/12 21:52:13 jtb Exp $ + +SHA1 (patch-aa) = 927eabd1b0d1180fb909ca943b511fa325601c7e diff --git a/emulators/mmix/patches/patch-aa b/emulators/mmix/patches/patch-aa new file mode 100644 index 00000000000..e735d1b3719 --- /dev/null +++ b/emulators/mmix/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/04/12 21:52:14 jtb Exp $ + +--- Makefile.orig Sat Jul 29 17:59:18 2000 ++++ Makefile +@@ -6,7 +6,7 @@ + # In fact, CWEB 3.61 is recommended for making hardcopy or PDF documentation. + + # If you prefer optimization to debugging, change -g to something like -O: +-CFLAGS = -g ++#CFLAGS = -g + + # Uncomment the second line if you use pdftex to bypass .dvi files: + PDFTEX = dvipdfm diff --git a/emulators/mmix/pkg/DESCR b/emulators/mmix/pkg/DESCR new file mode 100644 index 00000000000..0b2a9c4dcfc --- /dev/null +++ b/emulators/mmix/pkg/DESCR @@ -0,0 +1,8 @@ +Simulators for MMIX, a RISC machine designed by Professor Donald Knuth +to replace MIX in the ultimate editions of his monumental opus +``The Art of Computer Programming''. + +The programs are described in + + MMIXware by Donald E. Knuth + Lecture Notes in Computer Science 1750 (Springer Verlag, Heidelberg, 1999). diff --git a/emulators/mmix/pkg/PLIST b/emulators/mmix/pkg/PLIST new file mode 100644 index 00000000000..5fae0d6efdd --- /dev/null +++ b/emulators/mmix/pkg/PLIST @@ -0,0 +1,64 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/04/12 21:52:13 jtb Exp $ +bin/abstime +bin/mmix +bin/mmixal +bin/mmmix +bin/mmotype +share/doc/mmix/README +share/doc/mmix/mmix-doc.ps +share/doc/mmix/mmix-sim-intro.ps +share/doc/mmix/mmixal-intro.ps +share/examples/mmix/copy.mms +share/examples/mmix/cp.mms +share/examples/mmix/crypto.mms +share/examples/mmix/crypto1.mms +share/examples/mmix/crypto2.mms +share/examples/mmix/deluxe.mmconfig +share/examples/mmix/echo.mms +share/examples/mmix/fftswap.mms +share/examples/mmix/fib.mms +share/examples/mmix/fibgo.mms +share/examples/mmix/fibsub.mms +share/examples/mmix/halves.mmix +share/examples/mmix/halves.mms +share/examples/mmix/harm.mms +share/examples/mmix/hello.mms +share/examples/mmix/inout.mms +share/examples/mmix/iotest.mms +share/examples/mmix/iotest1.mms +share/examples/mmix/iotest2.mms +share/examples/mmix/number1.mms +share/examples/mmix/phi.mms +share/examples/mmix/plain.mmconfig +share/examples/mmix/popup.mms +share/examples/mmix/primes.mmconfig +share/examples/mmix/primes.mmix +share/examples/mmix/primes.mms +share/examples/mmix/primes6.mms +share/examples/mmix/primesf.mms +share/examples/mmix/primesfx.mms +share/examples/mmix/primessf.mms +share/examples/mmix/primesx.mmconfig +share/examples/mmix/primesx.mmix +share/examples/mmix/primesx.mms +share/examples/mmix/saddle1.mms +share/examples/mmix/saddle2.mms +share/examples/mmix/silly.mms +share/examples/mmix/sim.mms +share/examples/mmix/sort.mms +share/examples/mmix/sortx.mms +share/examples/mmix/strcpy.mms +share/examples/mmix/sub1.mms +share/examples/mmix/sub2.mms +share/examples/mmix/test.mmconfig +share/examples/mmix/test.mmix +share/examples/mmix/test.mms +share/examples/mmix/test1.mmconfig +share/examples/mmix/test1.mmix +share/examples/mmix/test2.mmconfig +share/examples/mmix/test2.mmix +share/examples/mmix/traffic.mms +share/examples/mmix/valid.mms +share/examples/mmix/zero.mms +@dirrm share/examples/mmix +@dirrm share/doc/mmix |