Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jul 2005 14:53:46 -0300
From:      "Alejandro Pulver" <alejandro@varnet.biz>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/83920: [NEW PORT] games/ruby-exmars - Ruby interface to the exMARS Memory Array Redcode Simulator
Message-ID:  <1122054826.0@phobos.mars.bsd>
Resent-Message-ID: <200507221800.j6MI0XS9090980@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         83920
>Category:       ports
>Synopsis:       [NEW PORT] games/ruby-exmars - Ruby interface to the exMARS 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:   Fri Jul 22 18:00:32 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Alejandro Pulver
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
>Environment:





>Description:





>How-To-Repeat:





>Fix:


--- ruby-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:
#
#	ruby-exmars
#	ruby-exmars/Makefile
#	ruby-exmars/distinfo
#	ruby-exmars/pkg-descr
#	ruby-exmars/pkg-plist
#
echo c - ruby-exmars
mkdir -p ruby-exmars > /dev/null 2>&1
echo x - ruby-exmars/Makefile
sed 's/^X//' >ruby-exmars/Makefile << 'END-of-ruby-exmars/Makefile'
X# New ports collection makefile for:	ruby-exmars
X# Date created:				22 Jul 2005
X# Whom:					Alejandro Pulver <alejandro@varnet.biz>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	exmars
XPORTVERSION=	0.01
XCATEGORIES=	games ruby
XMASTER_SITES=	http://martinus.geekisp.com/files/
XPKGNAMEPREFIX=	${RUBY_PKGNAMEPREFIX}
X
XMAINTAINER=	alejandro@varnet.biz
XCOMMENT=	Ruby interface to the exMARS Memory Array Redcode Simulator
X
XUSE_RUBY=	yes
XUSE_RUBY_EXTCONF=	yes
X
Xpost-install:
X	${MKDIR} ${RUBY_MODEXAMPLESDIR}
X	${INSTALL_DATA} ${WRKSRC}/test.rb ${RUBY_MODEXAMPLESDIR}/Mars.rb
X
X.include <bsd.port.mk>
END-of-ruby-exmars/Makefile
echo x - ruby-exmars/distinfo
sed 's/^X//' >ruby-exmars/distinfo << 'END-of-ruby-exmars/distinfo'
XMD5 (exmars-0.01.tar.gz) = eccab4367bea768763e4a15cddbbe23f
XSIZE (exmars-0.01.tar.gz) = 67047
END-of-ruby-exmars/distinfo
echo x - ruby-exmars/pkg-descr
sed 's/^X//' >ruby-exmars/pkg-descr << 'END-of-ruby-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* Ruby interface: finally a really fast mars can be used in a high level
X  programming language. (see test.rb for an example usage)
X
XWWW: http://martinus.geekisp.com/rublog.cgi/Projects/CoreWar/exMARS
X
X- Alejandro Pulver
Xalejandro@varnet.biz
END-of-ruby-exmars/pkg-descr
echo x - ruby-exmars/pkg-plist
sed 's/^X//' >ruby-exmars/pkg-plist << 'END-of-ruby-exmars/pkg-plist'
X%%RUBY_SITEARCHLIBDIR%%/Mars.so
X%%RUBY_MODEXAMPLESDIR%%/Mars.rb
X@dirrm %%RUBY_MODEXAMPLESDIR%%
END-of-ruby-exmars/pkg-plist
exit

--- ruby-exmars.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?1122054826.0>