# 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-Algorithm-Numerical-Shuffle # p5-Algorithm-Numerical-Shuffle/Makefile # p5-Algorithm-Numerical-Shuffle/distinfo # p5-Algorithm-Numerical-Shuffle/pkg-plist # p5-Algorithm-Numerical-Shuffle/pkg-descr # echo c - p5-Algorithm-Numerical-Shuffle mkdir -p p5-Algorithm-Numerical-Shuffle > /dev/null 2>&1 echo x - p5-Algorithm-Numerical-Shuffle/Makefile sed 's/^X//' >p5-Algorithm-Numerical-Shuffle/Makefile << 'END-of-p5-Algorithm-Numerical-Shuffle/Makefile' X# New ports collection makefile for: p5-Algorithm-Numerical-Shuffle X# Date created: 14 August 2003 X# Whom: andrew@scoop.co.nz X# X# $FreeBSD: $ X# X XPORTNAME= Algorithm-Numerical-Shuffle XPORTVERSION= 1.4 XCATEGORIES= devel perl5 XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITE_SUBDIR= ../by-authors/id/A/AB/ABIGAIL XPKGNAMEPREFIX= p5- XDISTNAME= Shuffle-${PORTVERSION} XEXTRACT_SUFX= .tgz X XMAINTAINER= andrew@scoop.co.nz XCOMMENT= Shuffle a list X XPERL_CONFIGURE= yes X XMAN3= Algorithm::Numerical::Shuffle.3 X X.include END-of-p5-Algorithm-Numerical-Shuffle/Makefile echo x - p5-Algorithm-Numerical-Shuffle/distinfo sed 's/^X//' >p5-Algorithm-Numerical-Shuffle/distinfo << 'END-of-p5-Algorithm-Numerical-Shuffle/distinfo' XMD5 (Shuffle-1.4.tgz) = 199d2adad2d4b40291a7d1bf53285279 END-of-p5-Algorithm-Numerical-Shuffle/distinfo echo x - p5-Algorithm-Numerical-Shuffle/pkg-plist sed 's/^X//' >p5-Algorithm-Numerical-Shuffle/pkg-plist << 'END-of-p5-Algorithm-Numerical-Shuffle/pkg-plist' X%%SITE_PERL%%/Algorithm/Numerical/Shuffle.pm END-of-p5-Algorithm-Numerical-Shuffle/pkg-plist echo x - p5-Algorithm-Numerical-Shuffle/pkg-descr sed 's/^X//' >p5-Algorithm-Numerical-Shuffle/pkg-descr << 'END-of-p5-Algorithm-Numerical-Shuffle/pkg-descr' XAlgorithm::Numerical::Shuffle X============================= X XShuffle is a perl module which performs a one pass, fair shuffle on a Xlist. If the list is passed as a reference to an array, the shuffle Xis done in situ. X XThe running time of the algorithm is linear in the size of the list. XFor an in situ shuffle, the memory overhead is constant; otherwise, Xlinear extra memory is used. X XThe algorithm used is discussed by Knuth [3]. It was first published Xby Fisher and Yates [2], and later by Durstenfeld [1]. END-of-p5-Algorithm-Numerical-Shuffle/pkg-descr exit