Date: Thu, 7 Jul 2005 20:13:03 -0300 From: "Alejandro Pulver" <alejandro@varnet.biz> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Subject: ports/83116: New port: games/exhaust-ma - Redcode simulator easy to embed into applications Message-ID: <1120777983.0@phobos.mars.bsd> Resent-Message-ID: <200507072320.j67NK6oP054046@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 83116 >Category: ports >Synopsis: New port: games/exhaust-ma - Redcode simulator easy to embed into applications >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Jul 07 23:20:06 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Alejandro Pulver >Release: FreeBSD 5.4-RELEASE i386 >Organization: >Environment: System: FreeBSD 5.4-RELEASE #0: Sat May 21 12:14:47 ART 2005 root@phobos.mars.bsd:/usr/src/sys/i386/compile/ATHLON-ALE >Description: >How-To-Repeat: >Fix: --- exhaust-ma.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # exhaust-ma # exhaust-ma/pkg-message # exhaust-ma/pkg-descr # exhaust-ma/Makefile # exhaust-ma/distinfo # exhaust-ma/files # exhaust-ma/files/patch-Makefile # echo c - exhaust-ma mkdir -p exhaust-ma > /dev/null 2>&1 echo x - exhaust-ma/pkg-message sed 's/^X//' >exhaust-ma/pkg-message << 'END-of-exhaust-ma/pkg-message' XThis MARS does not have a parser, so you have to do it separately. X XTo parse Redcode programs with pMARS do the following: X Xpmars-server -r 0 b-scanner.red | sed '1,2d' > b-scanner.rc END-of-exhaust-ma/pkg-message echo x - exhaust-ma/pkg-descr sed 's/^X//' >exhaust-ma/pkg-descr << 'END-of-exhaust-ma/pkg-descr' XThe `exhaust' project is a redcode simulator that is (hopefully) easy to embed Xinto your applications, as an alternative to pMARS. By M Joonas Pihlaja. X XExhaust-ma is exhaust with some of my optimizations. The interface is exactly Xthe same, but the sourcecode contains heavy optimations in the simulator core. X XAuthor: Martin Ankerl X XWWW: http://martinus.geekisp.com/rublog.cgi/Projects/CoreWar/exhaust-ma X X- Alejandro Pulver Xalejandro@varnet.biz END-of-exhaust-ma/pkg-descr echo x - exhaust-ma/Makefile sed 's/^X//' >exhaust-ma/Makefile << 'END-of-exhaust-ma/Makefile' X# New ports collection makefile for: games/exhaust-ma X# Date created: 7 Aug 2005 X# Whom: Alejandro Pulver <alejandro@varnet.biz> X# X# $FreeBSD$ X# X XPORTNAME= exhaust-ma XPORTVERSION= 1.9 XCATEGORIES= games XMASTER_SITES= http://martinus.geekisp.com/files/ XDISTNAME= ${PORTNAME} X XMAINTAINER= alejandro@varnet.biz XCOMMENT= Redcode simulator easy to embed into applications X XUSE_ZIP= yes XUSE_GMAKE= yes XUSE_REINPLACE= yes X XNO_WRKSUBDIR= yes X XOPTIONS= OPTIMIZED_CFLAGS "Enable compilation optimizations" on X XPLIST_FILES= bin/${PORTNAME} X Xdo-install: X @${INSTALL_PROGRAM} ${WRKSRC}/exhaust ${PREFIX}/bin/${PORTNAME} X Xpost-install: X @${ECHO_CMD} X @${CAT} ${PKGMESSAGE} X @${ECHO_CMD} X X.include <bsd.port.pre.mk> X Xpost-patch: X @${REINPLACE_CMD} -e 's|\($${OPT}\)|${CFLAGS} \1|' ${WRKSRC}/${MAKEFILE} X.if !defined(WITH_OPTIMIZED_CFLAGS) X @${REINPLACE_CMD} -e 's|$${OPT}||' ${WRKSRC}/${MAKEFILE} X.endif X X.include <bsd.port.post.mk> END-of-exhaust-ma/Makefile echo x - exhaust-ma/distinfo sed 's/^X//' >exhaust-ma/distinfo << 'END-of-exhaust-ma/distinfo' XMD5 (exhaust-ma.zip) = 696a5dcf20fc6ddbf7921c46c7451713 XSIZE (exhaust-ma.zip) = 49023 END-of-exhaust-ma/distinfo echo c - exhaust-ma/files mkdir -p exhaust-ma/files > /dev/null 2>&1 echo x - exhaust-ma/files/patch-Makefile sed 's/^X//' >exhaust-ma/files/patch-Makefile << 'END-of-exhaust-ma/files/patch-Makefile' X--- Makefile.orig Sun Jul 13 16:07:34 2003 X+++ Makefile Thu Jul 7 15:36:34 2005 X@@ -1,12 +1,10 @@ X # $Id: Makefile,v 1.7 2003/07/13 10:23:18 martinus Exp $ X X-CC = cc X-CFLAGS = ${OPT} ${DBG} X-OPT = -O -fomit-frame-pointer X+CFLAGS = ${OPT} X #DBG = -g -DDEBUG=2 X X # Recommended extra options for gcc: X-#OPT += -fomit-frame-pointer -fforce-addr -finline-functions -funroll-loops X+OPT = -O3 -fomit-frame-pointer -fforce-addr -finline-functions -funroll-loops X #OPT += -mcpu=i686 -march=i686 X #DBG += -W -Wall -pedantic -ansi X END-of-exhaust-ma/files/patch-Makefile exit --- exhaust-ma.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1120777983.0>