2003-07-17 23:31:04 +02:00
|
|
|
# $NetBSD: Makefile,v 1.16 2003/07/17 21:35:45 grant Exp $
|
1998-05-26 23:19:18 +02:00
|
|
|
# FreeBSD Id: Makefile,v 1.5 1997/10/10 06:53:35 obrien Exp
|
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= spim
|
2003-02-04 03:54:25 +01:00
|
|
|
PKGNAME= spim-6.5
|
2003-06-18 11:22:14 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
|
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
|
|
|
|
2003-07-17 23:31:04 +02:00
|
|
|
MAINTAINER= deberg@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
|
|
|
|
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
|
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
|
|
|
|
|
|
|
ALL_TARGET= y.tab.c depend spim xspim
|
|
|
|
|
|
|
|
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"
|