Date: Sat, 16 Jul 2005 19:48:01 -0300 From: "Alejandro Pulver" <alejandro@varnet.biz> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Subject: ports/83577: [NEW PORT] games/fmars - Fast Memory Array Redcode Simulator Message-ID: <1121554081.0@phobos.mars.bsd> Resent-Message-ID: <200507162250.j6GMoMM3011295@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 83577 >Category: ports >Synopsis: [NEW PORT] games/fmars - Fast Memory Array Redcode Simulator >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: --- fmars.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: # # fmars # fmars/pkg-descr # fmars/Makefile # fmars/distinfo # fmars/files # fmars/files/patch-Makefile # fmars/pkg-plist # echo c - fmars mkdir -p fmars > /dev/null 2>&1 echo x - fmars/pkg-descr sed 's/^X//' >fmars/pkg-descr << 'END-of-fmars/pkg-descr' Xfmars is Fast Memory Array Redcode Simulator X XA specialized simulator for the game of Corewars. It's designed to be of Xparticular use in automated redcode optimizers and evolvers. fmars borrows the Xidea from Martin Ankerl's qmars and pushes it to the extreme. X XIt generates source code with special case for every possible opcode/addressing Xmode combination. This allows some optimizations that aren't possible in other Xsimulators. X Xfmars is compatible with pMARS with an exception for p-space, which is not yet Ximplemented. X XWWW: http://www.v-lo.krakow.pl/~michal/fmars.html X X- Alejandro Pulver Xalejandro@varnet.biz END-of-fmars/pkg-descr echo x - fmars/Makefile sed 's/^X//' >fmars/Makefile << 'END-of-fmars/Makefile' X# New ports collection makefile for: fmars X# Date created: 16 Jul 2005 X# Whom: Alejandro Pulver <alejandro@varnet.biz> X# X# $FreeBSD$ X# X XPORTNAME= fmars XPORTVERSION= 0.0.206 XCATEGORIES= games XMASTER_SITES= http://www.v-lo.krakow.pl/~michal/ X XMAINTAINER= alejandro@varnet.biz XCOMMENT= Fast Memory Array Redcode Simulator X XBUILD_DEPENDS= guile:${PORTSDIR}/lang/guile X XUSE_BZIP2= yes XUSE_GMAKE= yes XUSE_REINPLACE= yes X XALL_TARGET= x${PORTNAME} X XOPTIONS= OPTIMIZED_CFLAGS "Enable compilation optimizations" on X Xdo-install: X# Program X @${INSTALL_PROGRAM} ${WRKSRC}/x${PORTNAME} ${PREFIX}/bin/${PORTNAME} X X# Data X @${MKDIR} ${DATADIR} X.for d in rc rc-test X @${CP} -R ${WRKSRC}/${d} ${DATADIR} X.endfor X X# Documentation (optional) X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} X.endif X Xpost-install: X# Fix permissions X @${CHOWN} -R ${BINOWN}:${BINGRP} ${DATADIR} X @${FIND} ${DATADIR} -type f -print0 | \ X ${XARGS} -0 ${CHMOD} 644 X @${FIND} ${DATADIR} -type d -print0 | \ X ${XARGS} -0 ${CHMOD} 755 X X.include <bsd.port.pre.mk> X Xpost-patch: X# Fix Makefile X @${REINPLACE_CMD} -e 's|\($$(OPT)\)|${CFLAGS} \1| ; \ X s|gcc|${CC}|g' \ X ${WRKSRC}/${MAKEFILE} X X# Enable/disable compilation optimizations 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-fmars/Makefile echo x - fmars/distinfo sed 's/^X//' >fmars/distinfo << 'END-of-fmars/distinfo' XMD5 (fmars-0.0.206.tar.bz2) = b9cc01aecd4d6a0112e918091a1e73fa XSIZE (fmars-0.0.206.tar.bz2) = 87114 END-of-fmars/distinfo echo c - fmars/files mkdir -p fmars/files > /dev/null 2>&1 echo x - fmars/files/patch-Makefile sed 's/^X//' >fmars/files/patch-Makefile << 'END-of-fmars/files/patch-Makefile' X--- Makefile.orig Sun May 15 12:54:02 2005 X+++ Makefile Thu Jul 7 19:26:25 2005 X@@ -5,13 +5,12 @@ X #INDENT = indent X X X-CC = gcc X-CFLAGS = -O2 -fomit-frame-pointer -fpic -fno-strict-aliasing #-march=athlon-xp X+CFLAGS = $(OPT) X+OPT = -O2 -fomit-frame-pointer X #DEBUG = -g -fno-omit-frame-pointer -O0 X X #options for fm_sim.c only: X #no-crossjumping - gcc 3.3 breaks computed gotos, this seems to help a little X-OPTS = -fno-cse-follow-jumps -fno-crossjumping X #OPTS += -fno-strict-aliasing X X #CFLAGS = $(CFLAGS_OPT) -fverbose-asm -W -Wimplicit -Wparentheses -Wpointer-arith \ END-of-fmars/files/patch-Makefile echo x - fmars/pkg-plist sed 's/^X//' >fmars/pkg-plist << 'END-of-fmars/pkg-plist' Xbin/fmars X%%PORTDOCS%%%%DOCSDIR%%/README X%%DATADIR%%/rc-test/defaults.rc X%%DATADIR%%/rc-test/defaults.red X%%DATADIR%%/rc-test/e.txt X%%DATADIR%%/rc-test/modes.rc X%%DATADIR%%/rc-test/modes.red X%%DATADIR%%/rc-test/modfs.rc X%%DATADIR%%/rc-test/modfs.red X%%DATADIR%%/rc-test/opcodes.rc X%%DATADIR%%/rc-test/opcodes.red X%%DATADIR%%/rc-test/p.txt X%%DATADIR%%/rc-test/pin1a.rc X%%DATADIR%%/rc-test/pin1a.red X%%DATADIR%%/rc-test/pin1b.rc X%%DATADIR%%/rc-test/pin1b.red X%%DATADIR%%/rc-test/pin2a.rc X%%DATADIR%%/rc-test/pin2a.red X%%DATADIR%%/rc-test/pin2b.rc X%%DATADIR%%/rc-test/pin2b.red X%%DATADIR%%/rc-test/ptest1.rc X%%DATADIR%%/rc-test/ptest1.red X%%DATADIR%%/rc-test/ptest2.rc X%%DATADIR%%/rc-test/ptest2.red X%%DATADIR%%/rc-test/ptest3.rc X%%DATADIR%%/rc-test/ptest3.red X%%DATADIR%%/rc-test/ptest4.rc X%%DATADIR%%/rc-test/ptest4.red X%%DATADIR%%/rc-test/ptest5.rc X%%DATADIR%%/rc-test/ptest5.red X%%DATADIR%%/rc-test/ptest6.rc X%%DATADIR%%/rc-test/ptest6.red X%%DATADIR%%/rc-test/validate.rc X%%DATADIR%%/rc-test/validate.red X%%DATADIR%%/rc/0test/jmn-f-sk1.rc X%%DATADIR%%/rc/0test/jmn-f-sk2.rc X%%DATADIR%%/rc/0test/jmn-f.rc X%%DATADIR%%/rc/0test/jmz-f.rc X%%DATADIR%%/rc/blur/Blade.rc X%%DATADIR%%/rc/blur/Ikarus.rc X%%DATADIR%%/rc/blur/boys.rc X%%DATADIR%%/rc/blur/herbal.rc X%%DATADIR%%/rc/blur/jinx2.rc X%%DATADIR%%/rc/blur/macabres.rc X%%DATADIR%%/rc/blur/miniblur.rc X%%DATADIR%%/rc/blur/myblur2.rc X%%DATADIR%%/rc/blur/pre75.rc X%%DATADIR%%/rc/blur/srage.rc X%%DATADIR%%/rc/blur/stalker.rc X%%DATADIR%%/rc/blur/zooom.rc X%%DATADIR%%/rc/bomber/DMan.rc X%%DATADIR%%/rc/bomber/Fuse.rc X%%DATADIR%%/rc/bomber/behemot.rc X%%DATADIR%%/rc/bomber/damage2.rc X%%DATADIR%%/rc/bomber/draken.rc X%%DATADIR%%/rc/bomber/myvamp54.rc X%%DATADIR%%/rc/bomber/pdown.rc X%%DATADIR%%/rc/bomber/preserv.rc X%%DATADIR%%/rc/bomber/rfrenzy2.rc X%%DATADIR%%/rc/bomber/torcht18.rc X%%DATADIR%%/rc/bomber/tornado4.rc X%%DATADIR%%/rc/bomber/vamp02b.rc X%%DATADIR%%/rc/clear/D2003.rc X%%DATADIR%%/rc/clear/Myth.rc X%%DATADIR%%/rc/clear/cereal.rc X%%DATADIR%%/rc/clear/cshot2.rc X%%DATADIR%%/rc/clear/fscan.rc X%%DATADIR%%/rc/clear/g2.rc X%%DATADIR%%/rc/clear/geist.rc X%%DATADIR%%/rc/clear/giants.rc X%%DATADIR%%/rc/clear/goonie.rc X%%DATADIR%%/rc/clear/luke.rc X%%DATADIR%%/rc/clear/theblood.rc X%%DATADIR%%/rc/clear/twinshot.rc X%%DATADIR%%/rc/nso/g2.rc X%%DATADIR%%/rc/nso/herbal.rc X%%DATADIR%%/rc/nso/npaper2.rc X%%DATADIR%%/rc/nso/qsilver.rc X%%DATADIR%%/rc/nso/rcheep.rc X%%DATADIR%%/rc/nso/recon2.rc X%%DATADIR%%/rc/nso/rotfcopy.rc X%%DATADIR%%/rc/nso/sovain.rc X%%DATADIR%%/rc/nso/willow.rc X%%DATADIR%%/rc/paper-imp/blowrag.rc X%%DATADIR%%/rc/paper-imp/dawn2.rc X%%DATADIR%%/rc/paper-imp/decoys.rc X%%DATADIR%%/rc/paper-imp/defensiv.rc X%%DATADIR%%/rc/paper-imp/fstorm.rc X%%DATADIR%%/rc/paper-imp/lordimp.rc X%%DATADIR%%/rc/paper-imp/minijedi.rc X%%DATADIR%%/rc/paper-imp/netpap.rc X%%DATADIR%%/rc/paper-imp/rotfcopy.rc X%%DATADIR%%/rc/paper-imp/safetyin.rc X%%DATADIR%%/rc/paper-imp/silking.rc X%%DATADIR%%/rc/paper-imp/unheard.rc X%%DATADIR%%/rc/paper-stone/Metal.rc X%%DATADIR%%/rc/paper-stone/faction4.rc X%%DATADIR%%/rc/paper-stone/numb.rc X%%DATADIR%%/rc/paper-stone/pglum.rc X%%DATADIR%%/rc/paper-stone/purifier.rc X%%DATADIR%%/rc/paper-stone/rcheep.rc X%%DATADIR%%/rc/paper-stone/recovery.rc X%%DATADIR%%/rc/paper-stone/wpaper.rc X%%DATADIR%%/rc/paper/SOS.rc X%%DATADIR%%/rc/paper/Tyrant.rc X%%DATADIR%%/rc/paper/disinc.rc X%%DATADIR%%/rc/paper/first.rc X%%DATADIR%%/rc/paper/fixed.rc X%%DATADIR%%/rc/paper/npaper2.rc X%%DATADIR%%/rc/paper/revenge.rc X%%DATADIR%%/rc/paper/skin.rc X%%DATADIR%%/rc/paper/stylized.rc X%%DATADIR%%/rc/paper/venom.rc X%%DATADIR%%/rc/paper/wuncle.rc X%%DATADIR%%/rc/paper/yorba.rc X%%DATADIR%%/rc/scanner/agonyII.rc X%%DATADIR%%/rc/scanner/cwork.rc X%%DATADIR%%/rc/scanner/hsa.rc X%%DATADIR%%/rc/scanner/mischief.rc X%%DATADIR%%/rc/scanner/mlion.rc X%%DATADIR%%/rc/scanner/oos.rc X%%DATADIR%%/rc/scanner/razor.rc X%%DATADIR%%/rc/scanner/recon2.rc X%%DATADIR%%/rc/scanner/solo3.rc X%%DATADIR%%/rc/scanner/tnames.rc X%%DATADIR%%/rc/scanner/willow.rc X%%DATADIR%%/rc/scanner/win.rc X%%DATADIR%%/rc/stone-a-imp/976.rc X%%DATADIR%%/rc/stone-a-imp/Stormkeeper.rc X%%DATADIR%%/rc/stone-a-imp/airbag.rc X%%DATADIR%%/rc/stone-a-imp/candy2.rc X%%DATADIR%%/rc/stone-a-imp/cascade.rc X%%DATADIR%%/rc/stone-a-imp/gigolo.rc X%%DATADIR%%/rc/stone-a-imp/ironicimps.rc X%%DATADIR%%/rc/stone-a-imp/rosebud.rc X%%DATADIR%%/rc/stone-a-imp/rotp.rc X%%DATADIR%%/rc/stone-a-imp/rotp2.rc X%%DATADIR%%/rc/stone-b-imp/blinedl.rc X%%DATADIR%%/rc/stone-b-imp/devilish.rc X%%DATADIR%%/rc/stone-b-imp/hhead.rc X%%DATADIR%%/rc/stone-b-imp/olivia.rc X%%DATADIR%%/rc/stone-b-imp/pixie.rc X%%DATADIR%%/rc/stone-b-imp/qsilver.rc X%%DATADIR%%/rc/stone-b-imp/revival.rc X%%DATADIR%%/rc/stone-b-imp/sovain.rc X%%DATADIR%%/rc/stone-b-imp/uvited.rc X%%DATADIR%%/rc/stone-b-imp/vain.rc X%%DATADIR%%/rc/top50/behemot.rc X%%DATADIR%%/rc/top50/blade.rc X%%DATADIR%%/rc/top50/boysareback.rc X%%DATADIR%%/rc/top50/candy.rc X%%DATADIR%%/rc/top50/candy2.rc X%%DATADIR%%/rc/top50/cascade.rc X%%DATADIR%%/rc/top50/cereal.rc X%%DATADIR%%/rc/top50/cheephalfoff.rc X%%DATADIR%%/rc/top50/crazyshot2.rc X%%DATADIR%%/rc/top50/dat0.rc X%%DATADIR%%/rc/top50/dawn.rc X%%DATADIR%%/rc/top50/dawn2.rc X%%DATADIR%%/rc/top50/dclear.rc X%%DATADIR%%/rc/top50/dclear2.rc X%%DATADIR%%/rc/top50/deepfreezex.rc X%%DATADIR%%/rc/top50/defensive.rc X%%DATADIR%%/rc/top50/devilish.rc X%%DATADIR%%/rc/top50/devilstick.rc X%%DATADIR%%/rc/top50/disincentive.rc X%%DATADIR%%/rc/top50/fastaction4.rc X%%DATADIR%%/rc/top50/firestorm.rc X%%DATADIR%%/rc/top50/freighttrainv02.rc X%%DATADIR%%/rc/top50/g2.rc X%%DATADIR%%/rc/top50/geist.rc X%%DATADIR%%/rc/top50/hammerhead.rc X%%DATADIR%%/rc/top50/harmonysnoot.rc X%%DATADIR%%/rc/top50/hazylazy.rc X%%DATADIR%%/rc/top50/herbalavenger.rc X%%DATADIR%%/rc/top50/hescansalone.rc X%%DATADIR%%/rc/top50/idioteque.rc X%%DATADIR%%/rc/top50/imp.rc X%%DATADIR%%/rc/top50/ironicimps.rc X%%DATADIR%%/rc/top50/jinx.rc X%%DATADIR%%/rc/top50/jinx2.rc X%%DATADIR%%/rc/top50/machine.rc X%%DATADIR%%/rc/top50/marsupiallion.rc X%%DATADIR%%/rc/top50/myblur2.rc X%%DATADIR%%/rc/top50/newt.rc X%%DATADIR%%/rc/top50/npaper2.rc X%%DATADIR%%/rc/top50/numb.rc X%%DATADIR%%/rc/top50/olivia.rc X%%DATADIR%%/rc/top50/pixie.rc X%%DATADIR%%/rc/top50/pre75_z47a.rc X%%DATADIR%%/rc/top50/preserver.rc X%%DATADIR%%/rc/top50/procoptodon.rc X%%DATADIR%%/rc/top50/purifier.rc X%%DATADIR%%/rc/top50/quicksilver.rc X%%DATADIR%%/rc/top50/razor.rc X%%DATADIR%%/rc/top50/recon2.rc X%%DATADIR%%/rc/top50/recovery.rc X%%DATADIR%%/rc/top50/reep-noq.rc X%%DATADIR%%/rc/top50/reepicheep.rc X%%DATADIR%%/rc/top50/revengepaper.rc X%%DATADIR%%/rc/top50/ring_a.rc X%%DATADIR%%/rc/top50/ring_b.rc X%%DATADIR%%/rc/top50/rotf-noq.rc X%%DATADIR%%/rc/top50/rotfcopy.rc X%%DATADIR%%/rc/top50/rotpendragon.rc X%%DATADIR%%/rc/top50/rotpendragon2.rc X%%DATADIR%%/rc/top50/rov.rc X%%DATADIR%%/rc/top50/scanman.rc X%%DATADIR%%/rc/top50/sevenbrothers.rc X%%DATADIR%%/rc/top50/seveneleven11gi.rc X%%DATADIR%%/rc/top50/silking.rc X%%DATADIR%%/rc/top50/silvertalon12.rc X%%DATADIR%%/rc/top50/soldierofsilk.rc X%%DATADIR%%/rc/top50/sonofvain.rc X%%DATADIR%%/rc/top50/stormkeeper.rc X%%DATADIR%%/rc/top50/tangletrap3.rc X%%DATADIR%%/rc/top50/thunderstrike.rc X%%DATADIR%%/rc/top50/unheardof.rc X%%DATADIR%%/rc/top50/uninvited.rc X%%DATADIR%%/rc/top50/vanquisher2.rc X%%DATADIR%%/rc/top50/wallpaper.rc X%%DATADIR%%/rc/top50/willow.rc X%%DATADIR%%/rc/top50/wipeuncle.rc X%%DATADIR%%/rc/top50/zooom.rc X@dirrm %%DATADIR%%/rc/top50 X@dirrm %%DATADIR%%/rc/stone-b-imp X@dirrm %%DATADIR%%/rc/stone-a-imp X@dirrm %%DATADIR%%/rc/scanner X@dirrm %%DATADIR%%/rc/paper-stone X@dirrm %%DATADIR%%/rc/paper-imp X@dirrm %%DATADIR%%/rc/paper X@dirrm %%DATADIR%%/rc/nso X@dirrm %%DATADIR%%/rc/clear X@dirrm %%DATADIR%%/rc/bomber X@dirrm %%DATADIR%%/rc/blur X@dirrm %%DATADIR%%/rc/0test X@dirrm %%DATADIR%%/rc-test X@dirrm %%DATADIR%%/rc X@dirrm %%DATADIR%% X%%PORTDOCS%%@dirrm %%DOCSDIR%% END-of-fmars/pkg-plist exit --- fmars.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?1121554081.0>