2010-11-15 23:22:07 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.21 2010/11/15 23:22:08 espie Exp $
|
2001-07-23 14:54:28 +00:00
|
|
|
|
2007-09-16 00:45:13 +00:00
|
|
|
COMMENT= MIPS R2000/R3000 simulator
|
2001-07-23 14:54:28 +00:00
|
|
|
|
2006-11-09 07:01:47 +00:00
|
|
|
DISTNAME= spim-7.3
|
2010-10-23 22:01:29 +00:00
|
|
|
REVISION= 2
|
2001-07-23 14:54:28 +00:00
|
|
|
CATEGORIES= emulators
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.cs.wisc.edu/~larus/spim.html
|
|
|
|
|
|
|
|
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
|
|
|
|
|
2003-07-03 06:16:22 +00:00
|
|
|
# homegrown, to be changed in next release
|
2007-09-16 00:45:13 +00: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 14:54:30 +00:00
|
|
|
|
2010-04-24 20:18:39 +00:00
|
|
|
WANTLIB= ICE SM X11 Xau Xdmcp Xaw Xext Xmu Xpm Xt c m \
|
2009-08-10 06:29:51 +00:00
|
|
|
pthread-stubs xcb
|
2001-07-23 14:54:28 +00:00
|
|
|
|
2002-03-12 08:52:18 +00:00
|
|
|
MASTER_SITES= http://www.cs.wisc.edu/~larus/SPIM/
|
2001-07-23 14:54:28 +00:00
|
|
|
|
2010-11-15 23:22:07 +00:00
|
|
|
BUILD_DEPENDS= devel/bison
|
2001-07-23 14:54:28 +00:00
|
|
|
|
2005-10-13 09:06:54 +00:00
|
|
|
XMKMF= xmkmf
|
2001-07-23 14:54:28 +00:00
|
|
|
|
2005-10-13 09:06:54 +00:00
|
|
|
FAKE_FLAGS= PREFIX="${PREFIX}"
|
2002-10-26 12:52:48 +00:00
|
|
|
|
2010-10-18 18:00:15 +00:00
|
|
|
USE_GROFF = Yes
|
2006-11-11 21:04:27 +00:00
|
|
|
|
2005-10-13 09:06:54 +00:00
|
|
|
do-build:
|
|
|
|
(cd ${WRKSRC}/spim; ./Configure && ${MAKE})
|
|
|
|
(cd ${WRKSRC}/xspim; ${XMKMF} && ${MAKE})
|
2001-07-23 14:54:28 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/spim
|
2005-10-13 09:06:54 +00: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 14:54:28 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|