aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-10-10 21:03:20 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-10-10 21:03:20 +0000
commita1f2bea42032ab227ac0750858b72708498183c0 (patch)
tree445d61fae28b5be330f0445055eefec3a56eb79e /games
parentab7d6a3dfadf9155bfdd8ee809214166fb507804 (diff)
downloadports-a1f2bea42032ab227ac0750858b72708498183c0.tar.gz
ports-a1f2bea42032ab227ac0750858b72708498183c0.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/Makefile1
-rw-r--r--games/exhaust-ma/Makefile35
-rw-r--r--games/exhaust-ma/distinfo2
-rw-r--r--games/exhaust-ma/files/patch-Makefile11
-rw-r--r--games/exhaust-ma/pkg-descr10
-rw-r--r--games/exhaust-ma/pkg-message5
6 files changed, 64 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index dc1af1bbaa9f..0ece20f8096f 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -145,6 +145,7 @@
SUBDIR += evilfinder
SUBDIR += excido
SUBDIR += exhaust
+ SUBDIR += exhaust-ma
SUBDIR += exmars
SUBDIR += exult
SUBDIR += falconseye
diff --git a/games/exhaust-ma/Makefile b/games/exhaust-ma/Makefile
new file mode 100644
index 000000000000..41c7acbe0beb
--- /dev/null
+++ b/games/exhaust-ma/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: games/exhaust-ma
+# Date created: 7 Aug 2005
+# Whom: Alejandro Pulver <alejandro@varnet.biz>
+#
+# $FreeBSD$
+#
+
+PORTNAME= exhaust-ma
+PORTVERSION= 1.9
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR= pav
+DISTNAME= ${PORTNAME}
+
+MAINTAINER= alejandro@varnet.biz
+COMMENT= Redcode simulator easy to embed into applications
+
+USE_ZIP= yes
+USE_GMAKE= yes
+USE_REINPLACE= yes
+
+NO_WRKSUBDIR= yes
+
+PLIST_FILES= bin/${PORTNAME}
+
+post-patch:
+ @${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e 's| ||'
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/exhaust ${PREFIX}/bin/${PORTNAME}
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/games/exhaust-ma/distinfo b/games/exhaust-ma/distinfo
new file mode 100644
index 000000000000..ad9b78c0efa4
--- /dev/null
+++ b/games/exhaust-ma/distinfo
@@ -0,0 +1,2 @@
+MD5 (exhaust-ma.zip) = 696a5dcf20fc6ddbf7921c46c7451713
+SIZE (exhaust-ma.zip) = 49023
diff --git a/games/exhaust-ma/files/patch-Makefile b/games/exhaust-ma/files/patch-Makefile
new file mode 100644
index 000000000000..86a98eec6eb3
--- /dev/null
+++ b/games/exhaust-ma/files/patch-Makefile
@@ -0,0 +1,11 @@
+--- Makefile.orig Sun Jul 13 16:07:34 2003
++++ Makefile Mon Oct 10 22:52:31 2005
+@@ -1,8 +1,5 @@
+ # $Id: Makefile,v 1.7 2003/07/13 10:23:18 martinus Exp $
+
+-CC = cc
+-CFLAGS = ${OPT} ${DBG}
+-OPT = -O -fomit-frame-pointer
+ #DBG = -g -DDEBUG=2
+
+ # Recommended extra options for gcc:
diff --git a/games/exhaust-ma/pkg-descr b/games/exhaust-ma/pkg-descr
new file mode 100644
index 000000000000..04a429ddd244
--- /dev/null
+++ b/games/exhaust-ma/pkg-descr
@@ -0,0 +1,10 @@
+The `exhaust' project is a redcode simulator that is (hopefully) easy to embed
+into your applications, as an alternative to pMARS. By M Joonas Pihlaja.
+
+Exhaust-ma is exhaust with some of my optimizations. The interface is exactly
+the same, but the sourcecode contains heavy optimations in the simulator core.
+
+Author: Martin Ankerl
+
+- Alejandro Pulver
+alejandro@varnet.biz
diff --git a/games/exhaust-ma/pkg-message b/games/exhaust-ma/pkg-message
new file mode 100644
index 000000000000..f4cf55c757f5
--- /dev/null
+++ b/games/exhaust-ma/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