aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-10-04 01:03:04 +0800
committerpav <pav@FreeBSD.org>2005-10-04 01:03:04 +0800
commit2e35ee9fdcf15f6549d7974537a7a211c637ee53 (patch)
treef954d6b678bc06b0d337cb3fb7b6a19dc275cb96
parent3670e4c2b7c351326deec561ff60f50b3dead229 (diff)
downloadfreebsd-ports-gnome-2e35ee9fdcf15f6549d7974537a7a211c637ee53.tar.gz
freebsd-ports-gnome-2e35ee9fdcf15f6549d7974537a7a211c637ee53.tar.zst
freebsd-ports-gnome-2e35ee9fdcf15f6549d7974537a7a211c637ee53.zip
The `exhaust' project is a redcode simulator that is (hopefully) easy to embed
into your applications, as an alternative to pMARS. PR: ports/83115 Submitted by: Alejandro Pulver <alejandro@varnet.biz>
-rw-r--r--games/Makefile1
-rw-r--r--games/exhaust/Makefile28
-rw-r--r--games/exhaust/distinfo2
-rw-r--r--games/exhaust/files/patch-Makefile10
-rw-r--r--games/exhaust/pkg-descr9
-rw-r--r--games/exhaust/pkg-message5
6 files changed, 55 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 6662027e2f51..218c0306d628 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -138,6 +138,7 @@
SUBDIR += ensemblist
SUBDIR += euchre
SUBDIR += evilfinder
+ SUBDIR += exhaust
SUBDIR += exmars
SUBDIR += exult
SUBDIR += falconseye
diff --git a/games/exhaust/Makefile b/games/exhaust/Makefile
new file mode 100644
index 000000000000..cf765f17b23e
--- /dev/null
+++ b/games/exhaust/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: games/exhaust
+# 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/
+
+MAINTAINER= alejandro@varnet.biz
+COMMENT= Redcode simulator easy to embed into applications
+
+USE_REINPLACE= yes
+
+PLIST_FILES= bin/${PORTNAME}
+
+do-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+
+post-install:
+ @${ECHO_CMD}
+ @${CAT} ${PKGMESSAGE}
+ @${ECHO_CMD}
+
+.include <bsd.port.mk>
diff --git a/games/exhaust/distinfo b/games/exhaust/distinfo
new file mode 100644
index 000000000000..adb7a6cdb16f
--- /dev/null
+++ b/games/exhaust/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/files/patch-Makefile b/games/exhaust/files/patch-Makefile
new file mode 100644
index 000000000000..f4f543ea244d
--- /dev/null
+++ b/games/exhaust/files/patch-Makefile
@@ -0,0 +1,10 @@
+--- Makefile.orig Sat Dec 28 06:50:08 2002
++++ Makefile Mon Oct 3 18:56:51 2005
+@@ -1,7 +1,5 @@
+ # $Id: Makefile,v 1.11 2002/10/01 22:32:58 rowan Exp $
+
+-CC = cc
+-CFLAGS = ${OPT} ${DBG}
+ OPT = -O4
+ #DBG = -g -DDEBUG=2
+
diff --git a/games/exhaust/pkg-descr b/games/exhaust/pkg-descr
new file mode 100644
index 000000000000..db576f92b1a1
--- /dev/null
+++ b/games/exhaust/pkg-descr
@@ -0,0 +1,9 @@
+The `exhaust' project is a redcode simulator that is (hopefully) easy to embed
+into your applications, as an alternative to pMARS.
+
+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/pkg-message b/games/exhaust/pkg-message
new file mode 100644
index 000000000000..f4cf55c757f5
--- /dev/null
+++ b/games/exhaust/pkg-message
@@ -0,0 +1,5 @@
+This MARS does not have a parser, so you have to do it separately.
+
+To parse Redcode programs with pMARS do the following:
+
+pmars-server -r 0 b-scanner.red | sed '1,2d' > b-scanner.rc