mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Adding port games/p5-Algorithm-Pair-Best, Perl module to generate
tournament pairings. Approved by: tobez (implicit)
This commit is contained in:
parent
b8047b6ca4
commit
b4af7b9ed1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=165286
@ -469,6 +469,7 @@
|
||||
SUBDIR += openmortal
|
||||
SUBDIR += openttd
|
||||
SUBDIR += orbital_eunuchs_sniper
|
||||
SUBDIR += p5-Algorithm-Pair-Best
|
||||
SUBDIR += p5-Algorithm-Pair-Swiss
|
||||
SUBDIR += p5-Games-AlphaBeta
|
||||
SUBDIR += p5-Games-Bingo
|
||||
|
28
games/p5-Algorithm-Pair-Best/Makefile
Normal file
28
games/p5-Algorithm-Pair-Best/Makefile
Normal file
@ -0,0 +1,28 @@
|
||||
# New ports collection makefile for: p5-Algorithm-Pair-Best
|
||||
# Date created: 12 Jun 2006
|
||||
# Whom: Aaron Dalton <aaron@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= Algorithm-Pair-Best
|
||||
PORTVERSION= 1.010
|
||||
CATEGORIES= games perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= Algorithm
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= aaron@FreeBSD.org
|
||||
COMMENT= Perl module to generate tournament pairings
|
||||
|
||||
MAN3= Algorithm::Pair::Best.3
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PERL_LEVEL} < 500600
|
||||
IGNORE= requires at least Perl 5.6. Please install lang/perl5.8 and try again
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
3
games/p5-Algorithm-Pair-Best/distinfo
Normal file
3
games/p5-Algorithm-Pair-Best/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (Algorithm-Pair-Best-1.010.tar.gz) = edfbb60e32747dbe2149c4bda6f940eb
|
||||
SHA256 (Algorithm-Pair-Best-1.010.tar.gz) = 07af8905d5f1fda343b6c86e91bbf3bbf34b698b01a105e1912dce235fda4fb1
|
||||
SIZE (Algorithm-Pair-Best-1.010.tar.gz) = 10796
|
15
games/p5-Algorithm-Pair-Best/pkg-descr
Normal file
15
games/p5-Algorithm-Pair-Best/pkg-descr
Normal file
@ -0,0 +1,15 @@
|
||||
After creating an Algorithm::Pair::Best->new object, add a list of items
|
||||
(players) to be paired. add connects the new items into a linked list. The
|
||||
linked list must consist of an even number of items or you'll get an error
|
||||
when you try to pick the pairs.
|
||||
|
||||
Pairings are determined partially by the original order items were added,
|
||||
but more importantly, items are paired based on scores which are
|
||||
determined by an info hash used to attach any random data to the item, and
|
||||
user supplied functions to provide a score for each item in relation to
|
||||
other items. It may be convenient to add access methods to the
|
||||
Algorithm::Pair::Best package from the main namespace (see the scoreSubs
|
||||
option to new below for an example).
|
||||
|
||||
WWW: http://search.cpan.org/dist/Algorithm-Pair-Best
|
||||
Author: Reid Augustin <reid@HelloSix.com>
|
7
games/p5-Algorithm-Pair-Best/pkg-plist
Normal file
7
games/p5-Algorithm-Pair-Best/pkg-plist
Normal file
@ -0,0 +1,7 @@
|
||||
%%SITE_PERL%%/Algorithm/Pair/Best.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm/Pair/Best/.packlist
|
||||
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm/Pair/Best
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm/Pair
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm
|
||||
@dirrmtry %%SITE_PERL%%/Algorithm/Pair
|
||||
@dirrmtry %%SITE_PERL%%/Algorithm
|
Loading…
Reference in New Issue
Block a user