6931ff0eab
Spim/xspim is a software simulator that runs assembly language programs for the MIPS R2000/R3000 RISC computers. It can read and immediately run files containing assembly language statements. It is a self-contained system for running these programs and contains a debugger and interface to the operating system.
41 lines
1.0 KiB
Makefile
41 lines
1.0 KiB
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2001/07/23 14:54:28 kevlo Exp $
|
|
|
|
COMMENT= "MIPS R2000 simulator"
|
|
|
|
DISTNAME= spim6.3
|
|
PKGNAME= spim-6.3
|
|
CATEGORIES= emulators
|
|
NEED_VERSION= 1.427
|
|
|
|
HOMEPAGE= http://www.cs.wisc.edu/~larus/spim.html
|
|
|
|
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ftp://ftp.cs.wisc.edu/pub/spim/
|
|
|
|
CONFIGURE_STYLE= gnu imake
|
|
CONFIGURE_SCRIPT= Configure
|
|
|
|
WRKDIST= ${WRKDIR}/${PKGNAME}
|
|
|
|
ALL_TARGET= spim xspim
|
|
|
|
DOCS= spim.ps cycle.ps
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/spim
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/spim
|
|
${INSTALL_DATA} ${WRKSRC}/trap.handler ${PREFIX}/share/spim
|
|
${INSTALL_PROGRAM} ${WRKSRC}/spim ${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKSRC}/xspim ${PREFIX}/bin
|
|
cd ${WRKSRC}/Documentation; ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/spim
|
|
${INSTALL_MAN} ${WRKSRC}/spim.man ${PREFIX}/man/man1/spim.1
|
|
${INSTALL_MAN} ${WRKSRC}/xspim.man ${PREFIX}/man/man1/xspim.1
|
|
|
|
.include <bsd.port.mk>
|