summaryrefslogtreecommitdiff
path: root/games/exhaust-doc/Makefile
blob: 50875e65785298e1e70d22d40e95636eceed055b (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
# New ports collection makefile for:	games/exhaust-doc
# Date created:			7 Aug 2005
# Whom:				Alejandro Pulver <alejandro@varnet.biz>
#
# $FreeBSD$
#

PORTNAME=	exhaust
PORTVERSION=	1.9.2
CATEGORIES=	games
MASTER_SITES=	http://www.cs.helsinki.fi/u/jpihlaja/exhaust/
PKGNAMESUFFIX=	-doc

MAINTAINER=	alepulver@FreeBSD.org
COMMENT=	Redcode simulator easy to embed into applications (docs)

NO_BUILD=	yes

post-patch:
	@${REINPLACE_CMD} -e 's|./\(exhaust\)|\1|g' ${WRKSRC}/test.pl

do-install:
	${MKDIR} ${DOCSDIR}
.for f in README test.pl
	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
	${MKDIR} ${DOCSDIR}/src
.for f in asm.c asm.h exhaust.c exhaust.h insn.h pspace.c pspace.h
	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/src
.endfor
	${MKDIR} ${DOCSDIR}/warriors
.for f in	pin1a.rc pin1a.red pin1b.rc pin1b.red pin2a.rc pin2a.red \
		pin2b.rc pin2b.red ptest1.rc ptest1.red ptest2.rc ptest2.red \
		ptest3.rc ptest3.red ptest4.rc ptest4.red ptest5.rc \
		ptest5.red ptest6.rc ptest6.red validate.rc validate.red
	${INSTALL_DATA} ${WRKSRC}/t/${f} ${DOCSDIR}/warriors
.endfor

.include <bsd.port.mk>