summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-10-10 21:09:12 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-10-10 21:09:12 +0000
commitb48c99841e632b0eaee343e159089c433eb1c898 (patch)
treea160cf22ba69515b35b14ee568d94d3b55663987 /games
parentRemove bad grouping syntax with ${MASTER_SITE_NETBSD} which caused the (diff)
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>
Diffstat (limited to 'games')
-rw-r--r--games/Makefile1
-rw-r--r--games/exhaust-doc/Makefile41
-rw-r--r--games/exhaust-doc/distinfo2
-rw-r--r--games/exhaust-doc/pkg-descr21
-rw-r--r--games/exhaust-doc/pkg-plist34
5 files changed, 99 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 0ece20f8096f..ba00844b21fb 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -145,6 +145,7 @@
SUBDIR += evilfinder
SUBDIR += excido
SUBDIR += exhaust
+ SUBDIR += exhaust-doc
SUBDIR += exhaust-ma
SUBDIR += exmars
SUBDIR += exult
diff --git a/games/exhaust-doc/Makefile b/games/exhaust-doc/Makefile
new file mode 100644
index 000000000000..813b25a51347
--- /dev/null
+++ b/games/exhaust-doc/Makefile
@@ -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>
diff --git a/games/exhaust-doc/distinfo b/games/exhaust-doc/distinfo
new file mode 100644
index 000000000000..adb7a6cdb16f
--- /dev/null
+++ b/games/exhaust-doc/distinfo
@@ -0,0 +1,2 @@
+MD5 (exhaust-1.9.2.tar.gz) = fea6fbc9183f8a2ad51309de2c1e9622
+SIZE (exhaust-1.9.2.tar.gz) = 37805
diff --git a/games/exhaust-doc/pkg-descr b/games/exhaust-doc/pkg-descr
new file mode 100644
index 000000000000..a231c6320adb
--- /dev/null
+++ b/games/exhaust-doc/pkg-descr
@@ -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
diff --git a/games/exhaust-doc/pkg-plist b/games/exhaust-doc/pkg-plist
new file mode 100644
index 000000000000..c5300bc99c9a
--- /dev/null
+++ b/games/exhaust-doc/pkg-plist
@@ -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%%