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

Last change on this file since 6783 was 6783, checked in by mww, 17 years ago

correct mandir to share/man (replace install w. xinstall)

  • Property svn:eol-style set to native
File size: 1.8 KB
1# $Id: Portfile,v 1.5 2004/04/26 22:55:57 mww Exp $
3PortSystem 1.0
4name            spim
5version         6.5
6categories      emulators devel lang x11
8description     an assembly language MIPS R2000/R3000 simulator
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                }    spim xspim
23build.args      BIN_DIR=${prefix}/bin MAN_DIR=${prefix}/share/man/ TRAP_DIR=${prefix}/share/spim/
24pre-destroot     { xinstall -d ${destroot}${prefix}/share/spim }  install
26destroot.args   MAN_DIR=${prefix}/share/man
27patchfiles      patch-Configure
29long_description   SPIM S20 is a software simulator that runs assembly language programs for\
30the MIPS R2000/R3000 RISC computers.  SPIM can read and immediately run\
31files containing assembly language statements.  SPIM is a self-contained\
32system for running these programs and contains a debugger and interface to\
33the operating system.\
35SPIM implements almost the entire MIPS assembler-extended instruction set\
36for the R2000/R3000 (I've omitted some the complex floating point comparisons\
37and details of the memory system page tables).  The MIPS architecture has\
38evolved considerably since then (in particular the 64 bit extensions), which\
39means that SPIM will not run programs compiled for recent MIPS or SGI\
Note: See TracBrowser for help on using the repository browser.