2005-07-15 20:27:48 +02:00
|
|
|
# $NetBSD: Makefile,v 1.24 2005/07/15 18:27:49 jlam Exp $
|
1998-05-26 23:19:18 +02:00
|
|
|
|
|
|
|
DISTNAME= spim
|
2003-02-04 03:54:25 +01:00
|
|
|
PKGNAME= spim-6.5
|
1998-05-26 23:19:18 +02:00
|
|
|
CATEGORIES= emulators
|
2002-04-29 19:17:42 +02:00
|
|
|
MASTER_SITES= http://www.cs.wisc.edu/~larus/SPIM/ \
|
|
|
|
ftp://ftp.cs.wisc.edu/pub/spim/
|
1998-05-26 23:19:18 +02:00
|
|
|
|
2004-11-29 22:18:59 +01:00
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
1998-08-20 17:16:34 +02:00
|
|
|
HOMEPAGE= http://www.cs.wisc.edu/~larus/spim.html
|
2001-02-17 19:38:11 +01:00
|
|
|
COMMENT= MIPS R2000 Simulator
|
1998-05-26 23:19:18 +02:00
|
|
|
|
2003-02-04 03:54:25 +01:00
|
|
|
DIST_SUBDIR= ${PKGNAME}
|
1998-05-26 23:19:18 +02:00
|
|
|
|
2004-01-20 13:07:06 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
|
1998-05-28 19:39:11 +02:00
|
|
|
HAS_CONFIGURE= yes
|
2000-03-27 10:54:53 +02:00
|
|
|
CONFIGURE_SCRIPT= ./Configure
|
1998-05-26 23:19:18 +02:00
|
|
|
USE_IMAKE= yes
|
2005-07-15 20:27:48 +02:00
|
|
|
USE_TOOLS+= gzip lex
|
2001-03-11 17:19:45 +01:00
|
|
|
XMKMF= ${X11BASE}/bin/xmkmf # don't specify -a option
|
1998-05-26 23:19:18 +02:00
|
|
|
|
2004-12-03 16:14:50 +01:00
|
|
|
BUILD_TARGET= y.tab.c depend spim xspim
|
1998-05-26 23:19:18 +02:00
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
@${RM} -f ${WRKSRC}/y.tab.*
|
|
|
|
|
|
|
|
pre-install:
|
2003-05-05 19:53:12 +02:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/spim
|
|
|
|
${CHMOD} a+rx ${PREFIX}/share/spim
|
1998-05-26 23:19:18 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${ECHO} "Installing spim/xspim documentation"
|
2003-05-05 19:53:12 +02:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/spim \
|
1999-12-29 02:41:00 +01:00
|
|
|
&& ${CHMOD} a+rx ${PREFIX}/share/doc/spim
|
2003-05-05 19:53:12 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/Documentation/spim.ps \
|
1998-05-26 23:19:18 +02:00
|
|
|
${PREFIX}/share/doc/spim
|
2003-05-05 19:53:12 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/Documentation/cycle.ps \
|
1998-05-26 23:19:18 +02:00
|
|
|
${PREFIX}/share/doc/spim
|
|
|
|
${GZIP_CMD} ${PREFIX}/share/doc/spim/*.ps
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|