diff options
author | tron <tron@pkgsrc.org> | 1998-05-26 21:19:18 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 1998-05-26 21:19:18 +0000 |
commit | 2cc08e783e201a3dcfa144ed789932ea43ec5f04 (patch) | |
tree | c3fee5a162c8246c4a0bd4c7e76a0f3725098375 /emulators/spim | |
parent | 6d8cd4b7a21c57cfeb2c3c3c640a45a611aa1dff (diff) | |
download | pkgsrc-2cc08e783e201a3dcfa144ed789932ea43ec5f04.tar.gz |
New "spim-6.1" package created from the FreeBSD port by Matt Debergalis.
Diffstat (limited to 'emulators/spim')
-rw-r--r-- | emulators/spim/Makefile | 35 | ||||
-rw-r--r-- | emulators/spim/files/md5 | 1 | ||||
-rw-r--r-- | emulators/spim/patches/patch-aa | 28 | ||||
-rw-r--r-- | emulators/spim/pkg/COMMENT | 1 | ||||
-rw-r--r-- | emulators/spim/pkg/DESCR | 15 | ||||
-rw-r--r-- | emulators/spim/pkg/PLIST | 8 |
6 files changed, 88 insertions, 0 deletions
diff --git a/emulators/spim/Makefile b/emulators/spim/Makefile new file mode 100644 index 00000000000..96ef8760d36 --- /dev/null +++ b/emulators/spim/Makefile @@ -0,0 +1,35 @@ +# $NetBSD: Makefile,v 1.1 1998/05/26 21:19:18 tron Exp $ +# FreeBSD Id: Makefile,v 1.5 1997/10/10 06:53:35 obrien Exp +# + +DISTNAME= spim +PKGNAME= spim-6.1 +CATEGORIES= emulators +MASTER_SITES= ftp://ftp.cs.wisc.edu/pub/spim/ + +MAINTAINER= deberg@mit.edu + +NO_WRKSUBDIR= yes + +USE_IMAKE= yes +XMKMF= xmkmf # don't specify -a option + +ALL_TARGET= y.tab.c depend spim xspim + +pre-configure: + @${RM} -f ${WRKSRC}/y.tab.* + +pre-install: + @${MKDIR} ${PREFIX}/share/spim && chmod a+rx ${PREFIX}/share/spim + +post-install: + @${ECHO} "Installing spim/xspim documentation" + @${MKDIR} ${PREFIX}/share/doc/spim \ + && chmod a+rx ${PREFIX}/share/doc/spim + ${INSTALL_DATA} ${WRKSRC}/Documentation/spim.ps \ + ${PREFIX}/share/doc/spim + ${INSTALL_DATA} ${WRKSRC}/Documentation/cycle.ps \ + ${PREFIX}/share/doc/spim + ${GZIP_CMD} ${PREFIX}/share/doc/spim/*.ps + +.include "../../mk/bsd.pkg.mk" diff --git a/emulators/spim/files/md5 b/emulators/spim/files/md5 new file mode 100644 index 00000000000..199e1c4b0d0 --- /dev/null +++ b/emulators/spim/files/md5 @@ -0,0 +1 @@ +MD5 (spim.tar.gz) = 8455389b01415316ff0ae78d08a0a9d4 diff --git a/emulators/spim/patches/patch-aa b/emulators/spim/patches/patch-aa new file mode 100644 index 00000000000..e068e6bc4c9 --- /dev/null +++ b/emulators/spim/patches/patch-aa @@ -0,0 +1,28 @@ +--- Imakefile.orig Tue Dec 30 16:50:02 1997 ++++ Imakefile Tue Apr 28 19:40:27 1998 +@@ -44,13 +44,13 @@ + # + + # Full path for directory that will hold the trap handler file: +-TRAP_DIR = . ++TRAP_DIR = $(PREFIX)/share/spim + + # Full path for the directory that will hold the executable files: +-BIN_DIR = /usr/unsup/bin ++BIN_DIR = $(PREFIX)/bin + + # Full path for the directory that will hold the man files: +-MAN_DIR = /var/unsup/man ++MAN_DIR = $(PREFIX)/man/man1 + + + # If you have flex, use it instead of lex. If you use flex, define this +@@ -253,7 +253,7 @@ + mv -f lex.yy.c.xx lex.yy.c + + depend:: +- makedepend -w10 *.c ++ makedepend -w10 -I$(X11BASE)/include *.c + + # + # DO NOT DELETE THIS LINE -- make depend depends on it. diff --git a/emulators/spim/pkg/COMMENT b/emulators/spim/pkg/COMMENT new file mode 100644 index 00000000000..774dcff69a7 --- /dev/null +++ b/emulators/spim/pkg/COMMENT @@ -0,0 +1 @@ +MIPS R2000 Simulator diff --git a/emulators/spim/pkg/DESCR b/emulators/spim/pkg/DESCR new file mode 100644 index 00000000000..7119312777b --- /dev/null +++ b/emulators/spim/pkg/DESCR @@ -0,0 +1,15 @@ +MIPS R2000 Simulator -- "1/25th the performance at none of the cost" + +Spim/Xspim simulates MIPS R2000 assembly code, providing a gdb and xgdb +like interface to the classical MIPS RISC CPU. The virtual machine +it provides can be either the one presented by the MIPS assembler or the +one of the bare hardware. The simulator can also be built to simulate the +pipeline architecture of the MIPS machine (both the control and floating +point pipelines). When built for this, it also simulates and displays +an instruction and data cache. + +This simulator is useful in CS and EE classes, including providing a +target machine for compilers courses, lower division assembly language +programming, microprocessor design courses, etc... + + -- David O'Brien (obrien@cs.ucdavis.edu) diff --git a/emulators/spim/pkg/PLIST b/emulators/spim/pkg/PLIST new file mode 100644 index 00000000000..753a0bbb347 --- /dev/null +++ b/emulators/spim/pkg/PLIST @@ -0,0 +1,8 @@ +@comment $NetBSD: PLIST,v 1.1 1998/05/26 21:19:19 tron Exp $ +bin/spim +bin/xspim +share/doc/spim/spim.ps.gz +share/doc/spim/cycle.ps.gz +share/spim/trap.handler +@dirrm share/doc/spim +@dirrm share/spim |