Add p5-Search-Binary 0.95, perl module that implements a generic binary
search algorithm. PR: 24029 Submitted by: Anton Berezin <tobez@tobez.org>
This commit is contained in:
parent
3db2036684
commit
b678d6f47b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=36756
6 changed files with 43 additions and 0 deletions
|
@ -269,6 +269,7 @@
|
|||
SUBDIR += p5-ReadLine-Perl
|
||||
SUBDIR += p5-Religion
|
||||
SUBDIR += p5-Resources
|
||||
SUBDIR += p5-Search-Binary
|
||||
SUBDIR += p5-Server-FastPL
|
||||
SUBDIR += p5-Set-NestedGroups
|
||||
SUBDIR += p5-Set-Object
|
||||
|
|
26
devel/p5-Search-Binary/Makefile
Normal file
26
devel/p5-Search-Binary/Makefile
Normal file
|
@ -0,0 +1,26 @@
|
|||
# New ports collection makefile for: devel/p5-Search-Binary
|
||||
# Date created: 03 January 2001
|
||||
# Whom: Anton Berezin <tobez@tobez.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= Search-Binary
|
||||
PORTVERSION= 0.95
|
||||
CATEGORIES= devel perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= Search
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= tobez@tobez.org
|
||||
|
||||
USE_PERL5= yes
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
MAN3= Search::Binary.3
|
||||
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
||||
|
||||
pre-patch:
|
||||
@${PERL} -pi -e 's|Seach|Search|' ${WRKSRC}/Binary.pm
|
||||
|
||||
.include <bsd.port.mk>
|
1
devel/p5-Search-Binary/distinfo
Normal file
1
devel/p5-Search-Binary/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (Search-Binary-0.95.tar.gz) = b75a99c0dedd05cb455686fc547cc78f
|
1
devel/p5-Search-Binary/pkg-comment
Normal file
1
devel/p5-Search-Binary/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
|||
Perl module that implements a generic binary search algorithm
|
9
devel/p5-Search-Binary/pkg-descr
Normal file
9
devel/p5-Search-Binary/pkg-descr
Normal file
|
@ -0,0 +1,9 @@
|
|||
Binary_search implements a generic binary search algorithm returning the
|
||||
position of the first record whose index value is greater than or equal
|
||||
to $val. The search routine does not define any of the terms position,
|
||||
record or index value, but leaves their interpretation and
|
||||
implementation to the user supplied function &$read(). The only
|
||||
restriction is that positions must be integer scalars.
|
||||
|
||||
-Anton
|
||||
<tobez@tobez.org>
|
5
devel/p5-Search-Binary/pkg-plist
Normal file
5
devel/p5-Search-Binary/pkg-plist
Normal file
|
@ -0,0 +1,5 @@
|
|||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Search/Binary/.packlist
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Search/Binary.pm
|
||||
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Search/Binary
|
||||
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Search 2>/dev/null || true
|
||||
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Search 2>/dev/null || true
|
Loading…
Reference in a new issue