From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jul 16 22:50:25 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E184E16A41C for ; Sat, 16 Jul 2005 22:50:25 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE4EC43D5E for ; Sat, 16 Jul 2005 22:50:21 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j6GMoLNI011237 for ; Sat, 16 Jul 2005 22:50:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j6GMoL8c011236; Sat, 16 Jul 2005 22:50:21 GMT (envelope-from gnats) Resent-Date: Sat, 16 Jul 2005 22:50:21 GMT Resent-Message-Id: <200507162250.j6GMoL8c011236@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Alejandro Pulver" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC8B416A41C for ; Sat, 16 Jul 2005 22:43:52 +0000 (GMT) (envelope-from alejandro@varnet.biz) Received: from relay01.pair.com (relay01.pair.com [209.68.5.15]) by mx1.FreeBSD.org (Postfix) with SMTP id 51B4A43D45 for ; Sat, 16 Jul 2005 22:43:52 +0000 (GMT) (envelope-from alejandro@varnet.biz) Received: (qmail 69878 invoked from network); 16 Jul 2005 22:43:50 -0000 Received: from unknown (HELO phobos.mars.bsd) (unknown) by unknown with SMTP; 16 Jul 2005 22:43:50 -0000 Message-Id: <1121553955.0@phobos.mars.bsd> Date: Sat, 16 Jul 2005 19:45:55 -0300 From: "Alejandro Pulver" To: "FreeBSD gnats submit" X-Send-Pr-Version: gtk-send-pr 0.4.4 Cc: Subject: ports/83576: [NEW PORT] games/exmars - Memory Array Redcode Simulator, just like exhaust and pMARS X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jul 2005 22:50:26 -0000 >Number: 83576 >Category: ports >Synopsis: [NEW PORT] games/exmars - Memory Array Redcode Simulator, just like exhaust and pMARS >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: Sat Jul 16 22:50:21 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Alejandro Pulver >Release: FreeBSD 5.4-RELEASE i386 >Organization: >Environment: >Description: >How-To-Repeat: >Fix: --- exmars.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: # # exmars # exmars/pkg-descr # exmars/Makefile # exmars/distinfo # exmars/files # exmars/files/patch-Makefile # exmars/pkg-plist # echo c - exmars mkdir -p exmars > /dev/null 2>&1 echo x - exmars/pkg-descr sed 's/^X//' >exmars/pkg-descr << 'END-of-exmars/pkg-descr' XexMARS combines the latest advance in corewar simulation technology, with Xproactive performance optimizations. X XActually exMARS is a redcode simulator, just like exhaust and pMARS. In fact, XI have shamelessly taken sourcecode from pMARS, exhaust, some ideas from XqMars, a shot of optimizations, shook everything well, and garnished Xeverything with a high level interface for Ruby. X XThe resulting program has the following main features: X X* Uses the parser from pMARS, so no previous parsing is neccessary. At first X this was my main motivation for exMARS. X* Speed: 50% faster than pmars on a Pentium III, and often more than twice as X fast than pmars on a Pentium 4 (using gcc 3.3.1, and the same compiler X options). X* Rewritten the code in a more object oriented way, which allows different X Mars at the same time in the same program, it should also be thread save. X XAuthor: Martin Ankerl X XWWW: http://martinus.geekisp.com/rublog.cgi/Projects/CoreWar/exMARS X X- Alejandro Pulver Xalejandro@varnet.biz END-of-exmars/pkg-descr echo x - exmars/Makefile sed 's/^X//' >exmars/Makefile << 'END-of-exmars/Makefile' X# New ports collection makefile for: exmars X# Date created: 16 Jul 2005 X# Whom: Alejandro Pulver X# X# $FreeBSD$ X# X XPORTNAME= exmars XPORTVERSION= 0.01 XCATEGORIES= games XMASTER_SITES= http://martinus.geekisp.com/files/ X XMAINTAINER= alejandro@varnet.biz XCOMMENT= Memory Array Redcode Simulator, just like exhaust and pMARS X XUSE_REINPLACE= yes X XALL_TARGET= ${PORTNAME} X XOPTIONS= OPTIMIZED_CFLAGS "Enable compilation optimizations" on X Xdo-install: X# Program X @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin X X# Data X @${MKDIR} ${DATADIR} X @${CP} -R ${WRKSRC}/warriors ${DATADIR} X @${INSTALL_SCRIPT} ${WRKSRC}/bench.sh ${DATADIR} X X.include X Xpost-patch: X# Fix bench.sh X @${REINPLACE_CMD} -e 's|pmars|pmars-server| ; \ X s|\./exmars|exmars|' \ X ${WRKSRC}/bench.sh X X# Enable/disable compilation optimizations 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 END-of-exmars/Makefile echo x - exmars/distinfo sed 's/^X//' >exmars/distinfo << 'END-of-exmars/distinfo' XMD5 (exmars-0.01.tar.gz) = eccab4367bea768763e4a15cddbbe23f XSIZE (exmars-0.01.tar.gz) = 67047 END-of-exmars/distinfo echo c - exmars/files mkdir -p exmars/files > /dev/null 2>&1 echo x - exmars/files/patch-Makefile sed 's/^X//' >exmars/files/patch-Makefile << 'END-of-exmars/files/patch-Makefile' X--- Makefile.orig Thu Oct 16 04:59:17 2003 X+++ Makefile Thu Jul 7 15:32:24 2005 X@@ -1,9 +1,9 @@ X # default flags X-CCFLAGS = -O3 -fomit-frame-pointer X+CCFLAGS = ${OPT} X X # my own highly tuned settings X #CC = gcc-3.3.1 X-#CCFLAGS = -O3 -fomit-frame-pointer -fforce-addr -funroll-all-loops -fstrict-aliasing -malign-double -fprefetch-loop-arrays -maccumulate-outgoing-args -minline-all-stringops -finline-functions -finline-limit=800 -ffast-math -mno-align-stringops X+OPT = -O3 -fomit-frame-pointer -fforce-addr -funroll-all-loops -fstrict-aliasing -malign-double -fprefetch-loop-arrays -maccumulate-outgoing-args -minline-all-stringops -finline-functions -finline-limit=800 -ffast-math -mno-align-stringops X #CCFLAGS += -mfpmath=sse,387 -mmmx -msse -march=pentium3 X X # develomental flags X@@ -21,4 +21,4 @@ X rm -f exmars Mars.so *.o *~ X X distclean: clean X- rm -f *.da X\ No newline at end of file X+ rm -f *.da END-of-exmars/files/patch-Makefile echo x - exmars/pkg-plist sed 's/^X//' >exmars/pkg-plist << 'END-of-exmars/pkg-plist' Xbin/exmars X%%DATADIR%%/bench.sh X%%DATADIR%%/warriors/94nop/Fixed.red X%%DATADIR%%/warriors/94nop/Jaguar.red X%%DATADIR%%/warriors/94nop/QuickSilver.red X%%DATADIR%%/warriors/94nop/Stalker.red X%%DATADIR%%/warriors/94nop/behemot.red X%%DATADIR%%/warriors/94nop/blade.red X%%DATADIR%%/warriors/94nop/candy.red X%%DATADIR%%/warriors/94nop/candy2.red X%%DATADIR%%/warriors/94nop/cheephalfoff.red X%%DATADIR%%/warriors/94nop/firestorm.red X%%DATADIR%%/warriors/94nop/harmonysnoot.red X%%DATADIR%%/warriors/94nop/hazylazy.red X%%DATADIR%%/warriors/94nop/herbalavenger.red X%%DATADIR%%/warriors/94nop/jinx.red X%%DATADIR%%/warriors/94nop/machine.red X%%DATADIR%%/warriors/94nop/nPaperII.red X%%DATADIR%%/warriors/94nop/numb.red X%%DATADIR%%/warriors/94nop/olivia.red X%%DATADIR%%/warriors/94nop/pixie.red X%%DATADIR%%/warriors/94nop/procoptodon.red X%%DATADIR%%/warriors/94nop/purifier.red X%%DATADIR%%/warriors/94nop/recon2.red X%%DATADIR%%/warriors/94nop/reepicheep.red X%%DATADIR%%/warriors/94nop/rotpendragon.red X%%DATADIR%%/warriors/94nop/rov.red X%%DATADIR%%/warriors/94nop/silvertalon12.red X%%DATADIR%%/warriors/94nop/sonofvain.red X%%DATADIR%%/warriors/94nop/thunderstrike.red X%%DATADIR%%/warriors/94nop/uninvited.red X%%DATADIR%%/warriors/94nop/vanquisher2.red X%%DATADIR%%/warriors/error/error.red X%%DATADIR%%/warriors/pspace/dawn2.red X%%DATADIR%%/warriors/pspace/devilish.red X%%DATADIR%%/warriors/pspace/hammerhead.red X%%DATADIR%%/warriors/pspace/preserver.red X%%DATADIR%%/warriors/pspace/rotpendragon2.red X%%DATADIR%%/warriors/pspace/sunset.red X%%DATADIR%%/warriors/pspace/unheardof.red X@dirrm %%DATADIR%%/warriors/pspace X@dirrm %%DATADIR%%/warriors/error X@dirrm %%DATADIR%%/warriors/94nop X@dirrm %%DATADIR%%/warriors X@dirrm %%DATADIR%% END-of-exmars/pkg-plist exit --- exmars.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: