From 72cd76c4839a5c1d2067068c36726bcb277dc6c9 Mon Sep 17 00:00:00 2001 From: clsung Date: Thu, 28 Oct 2004 09:41:18 +0000 Subject: - a perl module that finding the minimum and maximum of an array with at most 3n/2 - 2 comparisons Approved by: co-mentor (vanilla) --- devel/Makefile | 1 + devel/p5-Algorithm-MinMax/Makefile | 22 ++++++++++++++++++++++ devel/p5-Algorithm-MinMax/distinfo | 2 ++ devel/p5-Algorithm-MinMax/pkg-descr | 7 +++++++ devel/p5-Algorithm-MinMax/pkg-plist | 5 +++++ 5 files changed, 37 insertions(+) create mode 100644 devel/p5-Algorithm-MinMax/Makefile create mode 100644 devel/p5-Algorithm-MinMax/distinfo create mode 100644 devel/p5-Algorithm-MinMax/pkg-descr create mode 100644 devel/p5-Algorithm-MinMax/pkg-plist (limited to 'devel') diff --git a/devel/Makefile b/devel/Makefile index 5082effb9340..10749183083f 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -589,6 +589,7 @@ SUBDIR += p5-Algorithm-Interval2Prefix SUBDIR += p5-Algorithm-MDiff SUBDIR += p5-Algorithm-MarkovChain + SUBDIR += p5-Algorithm-MinMax SUBDIR += p5-Algorithm-NaiveBayes SUBDIR += p5-Algorithm-Networksort SUBDIR += p5-Algorithm-Numerical-Shuffle diff --git a/devel/p5-Algorithm-MinMax/Makefile b/devel/p5-Algorithm-MinMax/Makefile new file mode 100644 index 000000000000..d5d929179089 --- /dev/null +++ b/devel/p5-Algorithm-MinMax/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: Algorithm::MinMax +# Date created: Thu Oct 28 17:18:43 CST 2004 +# Whom: clsung +# +# $FreeBSD$ +# + +PORTNAME= Algorithm-MinMax +PORTVERSION= 0.01 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Algorithm +PKGNAMEPREFIX= p5- + +MAINTAINER= clsung@FreeBSD.org +COMMENT= Perl modules to find the minimum and maximum of an array + +PERL_CONFIGURE= yes + +MAN3= Algorithm::MinMax.3 + +.include diff --git a/devel/p5-Algorithm-MinMax/distinfo b/devel/p5-Algorithm-MinMax/distinfo new file mode 100644 index 000000000000..0bbda950c3fb --- /dev/null +++ b/devel/p5-Algorithm-MinMax/distinfo @@ -0,0 +1,2 @@ +MD5 (Algorithm-MinMax-0.01.tar.gz) = 4fbc998d532bc883503eb4db764149ba +SIZE (Algorithm-MinMax-0.01.tar.gz) = 2144 diff --git a/devel/p5-Algorithm-MinMax/pkg-descr b/devel/p5-Algorithm-MinMax/pkg-descr new file mode 100644 index 000000000000..ce26049bf982 --- /dev/null +++ b/devel/p5-Algorithm-MinMax/pkg-descr @@ -0,0 +1,7 @@ +Algorithm::MinMax finds the minimum and maximum of a given +array with at most 3n/2 - 2 comparisons, where n is the +number of elements of the array. + +WWW: http://search.cpan.org/dist/Algorithm-MinMax + +--clsung diff --git a/devel/p5-Algorithm-MinMax/pkg-plist b/devel/p5-Algorithm-MinMax/pkg-plist new file mode 100644 index 000000000000..97d7fd24de50 --- /dev/null +++ b/devel/p5-Algorithm-MinMax/pkg-plist @@ -0,0 +1,5 @@ +%%SITE_PERL%%/Algorithm/MinMax.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm/MinMax/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm/MinMax +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/Algorithm 2>/dev/null || true -- cgit