ports/82885: New Port: devel/p5-Tree-Node
Aaron Dalton
aaron at daltons.ca
Sat Jul 2 04:30:17 UTC 2005
>Number: 82885
>Category: ports
>Synopsis: New Port: devel/p5-Tree-Node
>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: Sat Jul 02 04:30:16 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Aaron Dalton
>Release: FreeBSD 5.2.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD chariss.finch.st 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #1: Sat Mar 5 16:29:20 MST 2005 ross at chariss.finch.st:/usr/src/sys/i386/compile/CHARISS i386
>Description:
This module implements a memory-efficient node type (for trees, skip lists
and similar data structures) for Perl.
You may ask "Why bother implementing an ordered structure such as a tree
when Perl has hashes built-in?" Since Perl is optimized for speed over
memory usage, hashes (and lists) use a lot of memory.
So the purpose of this package is to provide a simple low-level Node class
which can be used as a base class to implement various kinds of tree
structures. Each node has a key/value pair and a variable number of
"children" pointers.
How nodes are organized or the algorithm used to organize them is for you
to implement.
There is no Pure-perl version because this package was written to overcome
limitations of Perl.
>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-Node
# p5-Tree-Node/Makefile
# p5-Tree-Node/distinfo
# p5-Tree-Node/pkg-descr
# p5-Tree-Node/pkg-plist
#
echo c - p5-Tree-Node
mkdir -p p5-Tree-Node > /dev/null 2>&1
echo x - p5-Tree-Node/Makefile
sed 's/^X//' >p5-Tree-Node/Makefile << 'END-of-p5-Tree-Node/Makefile'
X# New ports collection makefile for: p5-Tree-Node
X# Date created: 01 July 2005
X# Whom: Aaron Dalton <aaron at daltons.ca>
X#
X# $FreeBSD$
X#
X
XPORTNAME= Tree-Node
XPORTVERSION= 0.03
XCATEGORIES= devel perl5
XMASTER_SITES= ${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR= Tree
XPKGNAMEPREFIX= p5-
X
XMAINTAINER= aaron at daltons.ca
XCOMMENT= Memory-efficient tree nodes in Perl
X
XPERL_CONFIGURE= yes
X
XMAN3= Tree::Node.3
X
X.include <bsd.port.mk>
END-of-p5-Tree-Node/Makefile
echo x - p5-Tree-Node/distinfo
sed 's/^X//' >p5-Tree-Node/distinfo << 'END-of-p5-Tree-Node/distinfo'
XMD5 (Tree-Node-0.03.tar.gz) = 54b8482b1d894229f5a34e39d92fda6a
XSIZE (Tree-Node-0.03.tar.gz) = 39084
END-of-p5-Tree-Node/distinfo
echo x - p5-Tree-Node/pkg-descr
sed 's/^X//' >p5-Tree-Node/pkg-descr << 'END-of-p5-Tree-Node/pkg-descr'
XThis module implements a memory-efficient node type (for trees, skip lists
Xand similar data structures) for Perl.
X
XYou may ask "Why bother implementing an ordered structure such as a tree
Xwhen Perl has hashes built-in?" Since Perl is optimized for speed over
Xmemory usage, hashes (and lists) use a lot of memory.
X
XSo the purpose of this package is to provide a simple low-level Node class
Xwhich can be used as a base class to implement various kinds of tree
Xstructures. Each node has a key/value pair and a variable number of
X"children" pointers.
X
XHow nodes are organized or the algorithm used to organize them is for you
Xto implement.
X
XThere is no Pure-perl version because this package was written to overcome
Xlimitations of Perl.
X
XWWW: http://search.cpan.org/dist/Tree-Node/
XAuthor: Robert Rothenberg <rrwo at cpan.org>
X
X- Aaron Dalton
Xaaron at daltons.ca
END-of-p5-Tree-Node/pkg-descr
echo x - p5-Tree-Node/pkg-plist
sed 's/^X//' >p5-Tree-Node/pkg-plist << 'END-of-p5-Tree-Node/pkg-plist'
X%%SITE_PERL%%/%%PERL_ARCH%%/Tree/Node.pm
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Tree/Node/.packlist
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Tree/Node/Node.bs
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Tree/Node/Node.so
X at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Tree/Node
X at unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Tree 2>/dev/null || true
X at unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Tree 2>/dev/null || true
X
END-of-p5-Tree-Node/pkg-plist
exit
--- submission.txt ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list