summaryrefslogtreecommitdiff
path: root/emulators/spim/Makefile
blob: 8ac669a3b73b76efb0d244768f7ef45169f0ecd2 (plain) (blame)
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
# ex:ts=8
# Ports collection makefile for:  spim
# Date created:			  Mon Oct 28, 1996
# Whom:				  David O'Brien (obrien@cs.ucdavis.edu)
#
# $FreeBSD$
#

PORTNAME=	spim
PORTVERSION=	7.0
CATEGORIES=	emulators
MASTER_SITES=	http://www.cs.wisc.edu/~larus/SPIM/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	MIPS R2000 Simulator

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}

USE_XLIB=	yes
HAS_CONFIGURE=	yes
CONFIGURE_SCRIPT=	Configure
MAKEFILE=	Makefile.std
ALL_TARGET=	spim xspim
MAN1=		spim.1 xspim.1

PORTDOCS=	cycle.ps.gz
PLIST_FILES=	bin/spim bin/xspim %%DATADIR%%/exceptions.s
PLIST_DIRS=	%%DATADIR%%

post-build:

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/Documentation/cycle.ps ${DOCSDIR}
	${GZIP_CMD} ${DOCSDIR}/cycle.ps
.endif

.include <bsd.port.mk>