2009-08-10 02:29:51 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.16 2009/08/10 06:31:09 kili Exp $
|
2001-07-23 10:54:28 -04:00
|
|
|
|
2007-09-15 20:45:13 -04:00
|
|
|
COMMENT= MIPS R2000/R3000 simulator
|
2001-07-23 10:54:28 -04:00
|
|
|
|
2006-11-09 02:01:47 -05:00
|
|
|
DISTNAME= spim-7.3
|
2009-08-10 02:29:51 -04:00
|
|
|
PKGNAME= ${DISTNAME}p1
|
2001-07-23 10:54:28 -04:00
|
|
|
CATEGORIES= emulators
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.cs.wisc.edu/~larus/spim.html
|
|
|
|
|
|
|
|
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
|
|
|
|
|
2003-07-03 02:16:22 -04:00
|
|
|
# homegrown, to be changed in next release
|
2007-09-15 20:45:13 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= may not sell
|
|
|
|
PERMIT_PACKAGE_FTP= may not bundle with commercial product
|
|
|
|
PERMIT_DISTFILES_CDROM= may not sell
|
|
|
|
PERMIT_DISTFILES_FTP= may not bundle with commercial product
|
2007-11-13 09:54:30 -05:00
|
|
|
|
2009-08-10 02:29:51 -04:00
|
|
|
WANTLIB= ICE SM X11 Xau Xdmcp Xaw Xext Xmu Xp Xpm Xt c m \
|
|
|
|
pthread-stubs xcb
|
2001-07-23 10:54:28 -04:00
|
|
|
|
2002-03-12 03:52:18 -05:00
|
|
|
MASTER_SITES= http://www.cs.wisc.edu/~larus/SPIM/
|
2001-07-23 10:54:28 -04:00
|
|
|
|
2005-10-13 05:06:54 -04:00
|
|
|
BUILD_DEPENDS= :bison-*:devel/bison
|
2001-07-23 10:54:28 -04:00
|
|
|
|
2005-10-13 05:06:54 -04:00
|
|
|
XMKMF= xmkmf
|
2001-07-23 10:54:28 -04:00
|
|
|
|
2005-10-13 05:06:54 -04:00
|
|
|
FAKE_FLAGS= PREFIX="${PREFIX}"
|
2002-10-26 08:52:48 -04:00
|
|
|
|
2006-11-11 16:04:27 -05:00
|
|
|
USE_X11= Yes
|
|
|
|
|
2005-10-13 05:06:54 -04:00
|
|
|
do-build:
|
|
|
|
(cd ${WRKSRC}/spim; ./Configure && ${MAKE})
|
|
|
|
(cd ${WRKSRC}/xspim; ${XMKMF} && ${MAKE})
|
2001-07-23 10:54:28 -04:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/spim
|
2005-10-13 05:06:54 -04:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/spim/spim ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/xspim/xspim ${PREFIX}/bin
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/CPU/exceptions.s ${PREFIX}/share/spim
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/Documentation/spim.man ${PREFIX}/man/man1/spim.1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/Documentation/xspim.man ${PREFIX}/man/man1/xspim.1
|
2001-07-23 10:54:28 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|