summaryrefslogtreecommitdiff
path: root/emulators/mmix/Makefile
diff options
context:
space:
mode:
authorjtb <jtb@pkgsrc.org>2001-04-12 21:52:13 +0000
committerjtb <jtb@pkgsrc.org>2001-04-12 21:52:13 +0000
commitf27dd7325aad4126137c927c93f26229c4cc21c1 (patch)
treeef0b0341f65035b78082987cc782292541e90f0c /emulators/mmix/Makefile
parent605e474a345e6a6eae3deeff292f40778cca87f3 (diff)
downloadpkgsrc-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/Makefile')
-rw-r--r--emulators/mmix/Makefile28
1 files changed, 28 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"