devel/p5-Sort-Tree 1.09_1 FreeBSD
Perl module for sorting a objects into a tree structure
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Categories
- devel, perl5
- Package size
- 9.2 KiB, 16.2 KiB installed
Description
Sort::Tree implements a mechanism for sorting a list of objects into a tree structure and flattening it back into a list. Among other things, this is useful for displaying database queries in hierarchical views, such as nested categories, parent-child relationships, threaded discussions, and so forth.
Trees have a lot to do with Graph theory, so if this module doesn't suit your fancy, have a look at the Graph:: Perl modules for an academically oriented implementation that employs vertex, edge, and node operations.
For more information on how to use the perl module, see the pod documentation via the command perldoc Sort::Tree or, after installation, view the man pages with man Sort::Tree
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-Sort-Tree | 1.09_1 |
| DragonFly | devel/p5-Sort-Tree | 1.09_1 |
Install
Binary package:
pkg install p5-Sort-Tree
From the ports tree:
cd /usr/ports/devel/p5-Sort-Tree/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Sort-Tree>0:devel/p5-Sort-Tree
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.09_1 | 1.09_1 | 1.09_1 | 1.09_1 | 1.09_1 |
| FreeBSD:14:quarterly | 1.09_1 | 1.09_1 | n/a | 1.09_1 | 1.09_1 |
| FreeBSD:15:latest | 1.09_1 | 1.09_1 | n/a | 1.09_1 | 1.09_1 |
| FreeBSD:15:quarterly | 1.09_1 | 1.09_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.09_1 | 1.09_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 1
Run dependencies 1
No port depends on this one.
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 2
- %%PERL5_MAN3%%/Sort::Tree.3.gz
- %%SITE_PERL%%/Sort/Tree.pm
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Sort-Tree-1.09.tar.gz | 7103 | 02a0d37a37f76a9ebdddfe49281e4d0f901f2658c2fcc5677eec77cdec25c49d |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.