diff options
author | clsung <clsung@FreeBSD.org> | 2004-10-28 17:41:18 +0800 |
---|---|---|
committer | clsung <clsung@FreeBSD.org> | 2004-10-28 17:41:18 +0800 |
commit | 72cd76c4839a5c1d2067068c36726bcb277dc6c9 (patch) | |
tree | 0b6629bdf517a128ee4690aa83a3b3d58e534d6b /devel | |
parent | 1f076a117dd817b502fdb2679a522313ff10e1c5 (diff) | |
download | freebsd-ports-gnome-72cd76c4839a5c1d2067068c36726bcb277dc6c9.tar.gz freebsd-ports-gnome-72cd76c4839a5c1d2067068c36726bcb277dc6c9.tar.zst freebsd-ports-gnome-72cd76c4839a5c1d2067068c36726bcb277dc6c9.zip |
- a perl module that
finding the minimum and maximum of an array with at most
3n/2 - 2 comparisons
Approved by: co-mentor (vanilla)
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-Algorithm-MinMax/Makefile | 22 | ||||
-rw-r--r-- | devel/p5-Algorithm-MinMax/distinfo | 2 | ||||
-rw-r--r-- | devel/p5-Algorithm-MinMax/pkg-descr | 7 | ||||
-rw-r--r-- | devel/p5-Algorithm-MinMax/pkg-plist | 5 |
5 files changed, 37 insertions, 0 deletions
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 <bsd.port.mk> 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 |