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

Last change on this file since 4936 was 4936, checked in by jkh, 16 years ago

(batch change set): actually make this compile with gcc 3.3

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