BSD Ports

devel/p5-Sort-Versions 1.62 FreeBSD

Perl 5 module for sorting of revision-like numbers

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
devel, perl5
Package size
12.5 KiB, 43.5 KiB installed

Description

Sort::Versions allows easy sorting of mixed non-numeric and numeric strings, like the "version numbers" that many shared library systems and revision control packages use. This is quite useful if you are trying to deal with shared libraries. It can also be applied to applications that intersperse variable-width numeric fields within text. Other applications can undoubtedly be found.

   For an explanation of the algorithm, it's simplest to look
   at these examples:

     1.1   <  1.2
     1.1a  <  1.2
     1.1   <  1.1.1
     1.1   <  1.1a
     1.1.a <  1.1a
     1     <  a
     a     <  b
     1     <  2
     1     <  0002
     1.5   <  1.06

In the other systems

SystemPortVersion
FreeBSDdevel/p5-Sort-Versions1.62
OpenBSDtextproc/p5-Sort-Versions1.62p0
NetBSDdevel/p5-Sort-Versions1.62nb11
DragonFlydevel/p5-Sort-Versions1.62
HardenedBSDdevel/p5-Sort-Versions1.62
GhostBSDdevel/p5-Sort-Versions1.62

Install

Binary package:

pkg install p5-Sort-Versions

From the ports tree:

cd /usr/ports/devel/p5-Sort-Versions/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Sort-Versions>0:devel/p5-Sort-Versions

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.621.621.621.621.62
FreeBSD:14:quarterly1.621.62n/a1.621.62
FreeBSD:15:latest1.621.62n/a1.621.62
FreeBSD:15:quarterly1.621.62n/an/an/a
FreeBSD:16:latest1.621.62n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/Sort/Versions.pm
  • %%PERL5_MAN3%%/Sort::Versions.3.gz
distinfo 1
FileSizeSHA256
Sort-Versions-1.62.tar.gz12295bf5f3307406ebe2581237f025982e8c84f6f6625dd774e457c03f8994efd2eaa
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.