blob: 8d59ff3a5e27a0cf26719b9d7c4da5882f1b54f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# $NetBSD: Makefile,v 1.13 2003/03/29 12:40:51 jmmv Exp $
# FreeBSD Id: Makefile,v 1.5 1997/10/10 06:53:35 obrien Exp
#
DISTNAME= spim
PKGNAME= spim-6.5
WRKSRC= ${WRKDIR}/${PKGNAME}
CATEGORIES= emulators
MASTER_SITES= http://www.cs.wisc.edu/~larus/SPIM/ \
ftp://ftp.cs.wisc.edu/pub/spim/
MAINTAINER= deberg@netbsd.org
HOMEPAGE= http://www.cs.wisc.edu/~larus/spim.html
COMMENT= MIPS R2000 Simulator
DIST_SUBDIR= ${PKGNAME}
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= ./Configure
USE_IMAKE= yes
XMKMF= ${X11BASE}/bin/xmkmf # don't specify -a option
ALL_TARGET= y.tab.c depend spim xspim
pre-configure:
@${RM} -f ${WRKSRC}/y.tab.*
pre-install:
@${INSTALL_DATA_DIR} ${PREFIX}/share/spim && ${CHMOD} a+rx ${PREFIX}/share/spim
post-install:
@${ECHO} "Installing spim/xspim documentation"
@${INSTALL_DATA_DIR} ${PREFIX}/share/doc/spim \
&& ${CHMOD} a+rx ${PREFIX}/share/doc/spim
${INSTALL_DATA} ${WRKSRC}/Documentation/spim.ps \
${PREFIX}/share/doc/spim
${INSTALL_DATA} ${WRKSRC}/Documentation/cycle.ps \
${PREFIX}/share/doc/spim
${GZIP_CMD} ${PREFIX}/share/doc/spim/*.ps
.include "../../mk/bsd.pkg.mk"
|