Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jul 2005 04:29:24 -0600 (MDT)
From:      "Aaron Dalton" <aaron@daltons.ca>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/84164: New Port: games/p5-Games-Sequential - Sequential games framework with OO interface
Message-ID:  <200507271029.j6RATO3u095905@moondance.finch.st>
Resent-Message-ID: <200507271030.j6RAU8fj092936@freefall.freebsd.org>

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

>Number:         84164
>Category:       ports
>Synopsis:       New Port: games/p5-Games-Sequential - Sequential games framework with OO interface
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 27 10:30:08 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Aaron Dalton
>Release:        FreeBSD 5.3-RELEASE i386
>Organization:
>Environment:
System: FreeBSD moondance.finch.st 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
Games::Sequential is a framework for producing sequential games. Among 
other things it keeps track of the sequence of moves, and provides an 
unlimited undo() mechanism. It also has methods to clone() or take a 
snapshot() of a game.

Users must pass an object representing the initial state of the game as the 
first argument to new(). This object must provide the two methods copy() 
and apply(). You can use Games::Sequential::Position as a base class, in 
which case the copy() method will be provided for you. The apply() method 
must take a move and apply it to the current position, producing the next 
position in the game.

>How-To-Repeat:
	
>Fix:

	

--- submission.txt 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:
#
#	p5-Games-Sequential
#	p5-Games-Sequential/pkg-plist
#	p5-Games-Sequential/Makefile
#	p5-Games-Sequential/distinfo
#	p5-Games-Sequential/pkg-descr
#
echo c - p5-Games-Sequential
mkdir -p p5-Games-Sequential > /dev/null 2>&1
echo x - p5-Games-Sequential/pkg-plist
sed 's/^X//' >p5-Games-Sequential/pkg-plist << 'END-of-p5-Games-Sequential/pkg-plist'
X%%SITE_PERL%%/Games/Sequential.pm
X%%SITE_PERL%%/Games/Sequential/Position.pm
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Games/Sequential/.packlist
X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Games/Sequential
X@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Games 2>/dev/null || true
X@dirrm %%SITE_PERL%%/Games/Sequential
X@unexec rmdir %D/%%SITE_PERL%%/Games 2>/dev/null || true
X
END-of-p5-Games-Sequential/pkg-plist
echo x - p5-Games-Sequential/Makefile
sed 's/^X//' >p5-Games-Sequential/Makefile << 'END-of-p5-Games-Sequential/Makefile'
X# New ports collection makefile for:	p5-Games-Sequential
X# Date created: 			27 July 2005
X# Whom: 				Aaron Dalton <aaron@daltons.ca>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Games-Sequential
XPORTVERSION=	0.4.3
XCATEGORIES=	games perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	Games
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	aaron@daltons.ca
XCOMMENT=	Sequential games framework with OO interface
X
XBUILD_DEPENDS=  ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable
XRUN_DEPENDS=    ${BUILD_DEPENDS}
X
XPERL_CONFIGURE=	 yes
X
XMAN3=		Games::Sequential.3 Games::Sequential::Position.3
X
X.include <bsd.port.mk>
END-of-p5-Games-Sequential/Makefile
echo x - p5-Games-Sequential/distinfo
sed 's/^X//' >p5-Games-Sequential/distinfo << 'END-of-p5-Games-Sequential/distinfo'
XMD5 (Games-Sequential-0.4.3.tar.gz) = 38694a375220f8275721806f4ca40a30
XSIZE (Games-Sequential-0.4.3.tar.gz) = 5908
END-of-p5-Games-Sequential/distinfo
echo x - p5-Games-Sequential/pkg-descr
sed 's/^X//' >p5-Games-Sequential/pkg-descr << 'END-of-p5-Games-Sequential/pkg-descr'
XGames::Sequential is a framework for producing sequential games. Among 
Xother things it keeps track of the sequence of moves, and provides an 
Xunlimited undo() mechanism. It also has methods to clone() or take a 
Xsnapshot() of a game.
X
XUsers must pass an object representing the initial state of the game as the 
Xfirst argument to new(). This object must provide the two methods copy() 
Xand apply(). You can use Games::Sequential::Position as a base class, in 
Xwhich case the copy() method will be provided for you. The apply() method 
Xmust take a move and apply it to the current position, producing the next 
Xposition in the game.
X
XWWW: http://search.cpan.org/dist/Games-Sequential
XAuthor: Stig Brautaset <stig@brautaset.org>
X
X- Aaron Dalton
Xaaron@daltons.ca
END-of-p5-Games-Sequential/pkg-descr
exit
--- submission.txt ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507271029.j6RATO3u095905>