source: trunk/dports/emulators/spim/Portfile @ 2282

Last change on this file since 2282 was 2282, checked in by michaelm, 18 years ago

spim, mips emulator/assembly thingy
Bug: 380
Submitted by: stewartsmith/MacPlusG3
Reviewed by:
Approved by:
Obtained from:

  • Property svn:eol-style set to native
File size: 1.7 KB
1PortSystem 1.0
2name            spim
3version         6.5
4categories      emulators devel lang x11
6description     an assembly language MIPS R2000/R3000 simulator
9distname        spim
10checksums       md5 be9cf6ff2798e507736d05eb5c70914f
11worksrcdir      spim-6.5
12depends_lib     lib:libX11.6:XFree86
13configure.cmd   ./Configure
14post-configure  { reinplace "s|/usr/unsup|${prefix}|g" ${worksrcpath}/Makefile
15                  reinplace \
16                        "s|^TRAP_DIR = \.|TRAP_DIR = ${prefix}/share/spim/|g" \
17                        ${worksrcpath}/Makefile
18                  reinplace "s|/var/unsup|${prefix}|g" ${worksrcpath}/Makefile
19                }    spim xspim
21build.args      BIN_DIR=${prefix}/bin MAN_DIR=${prefix}/man/ TRAP_DIR=${prefix}/share/spim/
22pre-install     { system "mkdir -p ${destroot}${prefix}/share/spim" }  install
26long_description   SPIM S20 is a software simulator that runs assembly language programs for\
27the MIPS R2000/R3000 RISC computers.  SPIM can read and immediately run\
28files containing assembly language statements.  SPIM is a self-contained\
29system for running these programs and contains a debugger and interface to\
30the operating system.\
32SPIM implements almost the entire MIPS assembler-extended instruction set\
33for the R2000/R3000 (I've omitted some the complex floating point comparisons\
34and details of the memory system page tables).  The MIPS architecture has\
35evolved considerably since then (in particular the 64 bit extensions), which\
36means that SPIM will not run programs compiled for recent MIPS or SGI\
Note: See TracBrowser for help on using the repository browser.