1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

The `exhaust' project is a redcode simulator that is (hopefully) easy to embed

into your applications, as an alternative to pMARS.

This is a documentation package.

PR:		ports/83120
Submitted by:	Alejandro Pulver <alejandro@varnet.biz>
This commit is contained in:
Pav Lucistnik 2005-10-10 21:09:12 +00:00
parent 9a6e5a27d7
commit b48c99841e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=144867
5 changed files with 99 additions and 0 deletions

View File

@ -145,6 +145,7 @@
SUBDIR += evilfinder
SUBDIR += excido
SUBDIR += exhaust
SUBDIR += exhaust-doc
SUBDIR += exhaust-ma
SUBDIR += exmars
SUBDIR += exult

View File

@ -0,0 +1,41 @@
# 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= alejandro@varnet.biz
COMMENT= Redcode simulator easy to embed into applications (docs)
NO_BUILD= yes
USE_REINPLACE= 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>

View File

@ -0,0 +1,2 @@
MD5 (exhaust-1.9.2.tar.gz) = fea6fbc9183f8a2ad51309de2c1e9622
SIZE (exhaust-1.9.2.tar.gz) = 37805

View File

@ -0,0 +1,21 @@
The `exhaust' project is a redcode simulator that is (hopefully) easy to embed
into your applications, as an alternative to pMARS.
The documentation contains the following:
README - Instructions to embed exhaust in a program.
test.pl - Perl script to check for differences between exhaust and pMARS.
src/ - The C source code of exhaust (highly commented).
warriors/ - Test warriors.
The "warriors" subdirectory contains Redcode assembly files (.red) and parsed
Redcode assembly files (.rc). The last ones can be loaded into exhaust, the
others have to be parsed, for example with pMARS.
NOTE: this documentation is only useful for developers.
Author: M Joonas Pihlaja
WWW: http://www.cs.helsinki.fi/u/jpihlaja/exhaust/exhaust.html
- Alejandro Pulver
alejandro@varnet.biz

View File

@ -0,0 +1,34 @@
%%DOCSDIR%%/README
%%DOCSDIR%%/test.pl
%%DOCSDIR%%/src/asm.c
%%DOCSDIR%%/src/asm.h
%%DOCSDIR%%/src/exhaust.c
%%DOCSDIR%%/src/exhaust.h
%%DOCSDIR%%/src/insn.h
%%DOCSDIR%%/src/pspace.c
%%DOCSDIR%%/src/pspace.h
%%DOCSDIR%%/warriors/pin1a.rc
%%DOCSDIR%%/warriors/pin1a.red
%%DOCSDIR%%/warriors/pin1b.rc
%%DOCSDIR%%/warriors/pin1b.red
%%DOCSDIR%%/warriors/pin2a.rc
%%DOCSDIR%%/warriors/pin2a.red
%%DOCSDIR%%/warriors/pin2b.rc
%%DOCSDIR%%/warriors/pin2b.red
%%DOCSDIR%%/warriors/ptest1.rc
%%DOCSDIR%%/warriors/ptest1.red
%%DOCSDIR%%/warriors/ptest2.rc
%%DOCSDIR%%/warriors/ptest2.red
%%DOCSDIR%%/warriors/ptest3.rc
%%DOCSDIR%%/warriors/ptest3.red
%%DOCSDIR%%/warriors/ptest4.rc
%%DOCSDIR%%/warriors/ptest4.red
%%DOCSDIR%%/warriors/ptest5.rc
%%DOCSDIR%%/warriors/ptest5.red
%%DOCSDIR%%/warriors/ptest6.rc
%%DOCSDIR%%/warriors/ptest6.red
%%DOCSDIR%%/warriors/validate.rc
%%DOCSDIR%%/warriors/validate.red
@dirrm %%DOCSDIR%%/src
@dirrm %%DOCSDIR%%/warriors
@dirrm %%DOCSDIR%%