ports/71257: New Port: devel/p5-Tree-Binary - An object-oriented binary tree for Perl

Aaron Dalton aaron at daltons.ca
Wed Sep 1 17:50:22 UTC 2004


>Number:         71257
>Category:       ports
>Synopsis:       New Port: devel/p5-Tree-Binary - An object-oriented binary tree for Perl
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 01 17:50:22 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Aaron Dalton
>Release:        FreeBSD 5.2.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD galan.daltons.ca 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Sat Aug 14 16:19:13 MDT 2004 aaron at galan.daltons.ca:/usr/src/sys/i386/compile/GALAN i386


>Description:
This module is a fully object oriented implementation of a binary tree.  
Binary trees are a specialized type of tree which has only two possible 
branches, a left branch and a right branch. While it is possible to use an 
n-ary tree, like Tree::Simple, to fill most of your binary tree needs, a 
true binary tree object is just easier to mantain and use.

Binary Tree objects are especially useful (to me anyway) when building 
parse trees of things like mathematical or boolean expressions. They can 
also be used in games for such things as descisions trees. Binary trees 
are a well studied data structure and there is a wealth of information on 
the web about them.

>How-To-Repeat:
>Fix:

	

--- submission.txt begins here ---
# 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-Tree-Binary
#	p5-Tree-Binary/Makefile
#	p5-Tree-Binary/pkg-descr
#	p5-Tree-Binary/pkg-plist
#	p5-Tree-Binary/distinfo
#
echo c - p5-Tree-Binary
mkdir -p p5-Tree-Binary > /dev/null 2>&1
echo x - p5-Tree-Binary/Makefile
sed 's/^X//' >p5-Tree-Binary/Makefile << 'END-of-p5-Tree-Binary/Makefile'
X# New ports collection makefile for:	Tree::Binary
X# Date created:				1 September 2004
X# Whom:					Aaron Dalton <aaron at daltons.ca>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Tree-Binary
XPORTVERSION=	0.04
XCATEGORIES=	devel perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	Tree
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	aaron at daltons.ca
XCOMMENT=	An Object Oriented Binary Tree for Perl
X
XMAN3=		Tree::Binary.3 Tree::Binary::Search.3 \
X		Tree::Binary::Search::Node.3 \
X		Tree::Binary::Visitor::Base.3 \
X		Tree::Binary::Visitor::BreadthFirstTraversal.3 \
X		Tree::Binary::Visitor::InOrderTraversal.3 \
X		Tree::Binary::Visitor::PostOrderTraversal.3 \
X		Tree::Binary::Visitor::PreOrderTraversal.3 \
X		Tree::Binary::VisitorFactory.3
X
XPERL_CONFIGURE=	yes
X
X.include <bsd.port.pre.mk>
X
X.if ${PERL_LEVEL} < 500600
XIGNORE=		Port requires perl 5.6.x or later. Install lang/perl5 then try again
X.endif
X
X.include <bsd.port.post.mk>
END-of-p5-Tree-Binary/Makefile
echo x - p5-Tree-Binary/pkg-descr
sed 's/^X//' >p5-Tree-Binary/pkg-descr << 'END-of-p5-Tree-Binary/pkg-descr'
XThis module is a fully object oriented implementation of a binary tree. Binary
Xtrees are a specialized type of tree which has only two possible branches, a
Xleft branch and a right branch. While it is possible to use an n-ary tree,
Xlike Tree::Simple, to fill most of your binary tree needs, a true binary tree
Xobject is just easier to mantain and use.
X
XBinary Tree objects are especially useful (to me anyway) when building parse
Xtrees of things like mathematical or boolean expressions. They can also be used
Xin games for such things as descisions trees. Binary trees are a well studied
Xdata structure and there is a wealth of information on the web about them.
X
XWWW: http://search.cpan.org/dist/Tree-Binary/
XAuthor: Stevan Little <stevan at iinteractive.com>
X
X- Aaron Dalton
Xaaron at daltons.ca
END-of-p5-Tree-Binary/pkg-descr
echo x - p5-Tree-Binary/pkg-plist
sed 's/^X//' >p5-Tree-Binary/pkg-plist << 'END-of-p5-Tree-Binary/pkg-plist'
X%%SITE_PERL%%/Tree/Binary.pm
X%%SITE_PERL%%/Tree/Binary/Search.pm
X%%SITE_PERL%%/Tree/Binary/Search/Node.pm
X%%SITE_PERL%%/Tree/Binary/Visitor/Base.pm
X%%SITE_PERL%%/Tree/Binary/Visitor/BreadthFirstTraversal.pm
X%%SITE_PERL%%/Tree/Binary/Visitor/InOrderTraversal.pm
X%%SITE_PERL%%/Tree/Binary/Visitor/PostOrderTraversal.pm
X%%SITE_PERL%%/Tree/Binary/Visitor/PreOrderTraversal.pm
X%%SITE_PERL%%/Tree/Binary/VisitorFactory.pm
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Tree/Binary/.packlist
X at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Tree/Binary
X at unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Tree 2>/dev/null || true
X at dirrm %%SITE_PERL%%/Tree/Binary/Visitor
X at dirrm %%SITE_PERL%%/Tree/Binary/Search
X at dirrm %%SITE_PERL%%/Tree/Binary
X at unexec rmdir %D/%%SITE_PERL%%/Tree 2>/dev/null || true
END-of-p5-Tree-Binary/pkg-plist
echo x - p5-Tree-Binary/distinfo
sed 's/^X//' >p5-Tree-Binary/distinfo << 'END-of-p5-Tree-Binary/distinfo'
XMD5 (Tree-Binary-0.04.tar.gz) = c63a619041d3b130cf74088ed0e3af96
XSIZE (Tree-Binary-0.04.tar.gz) = 26968
END-of-p5-Tree-Binary/distinfo
exit
--- submission.txt ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list