BSD Ports

devel/p5-Parse-Distname 0.05 MidnightBSD

Parse a distribution name

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
artistic, gpl+
Categories
devel, perl5

Description

Parse::Distname is yet another distribution name parser. It works almost the same as CPAN::DistnameInfo, but Parse::Distname takes a different approach. It tries to extract a version part of a distribution and treat the rest as a distribution name, contrary to CPAN::DistnameInfo which tries to define a name part and treat the rest as a version.

Because of this difference, when Parse::Distname parses a weird distribution name such as "AUTHOR/v1.0.tar.gz", it says the name is empty and the version is "v1.0", while CPAN::DistnameInfo says the name is "v" and the version is "1.0". See test files in this distribution if you need more details. As of this writing, Parse::Distname returns a different result for about 200+ distributions among about 320000 BackPan distributions.

In the other systems

The newest version among them is 0.05, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/p5-Parse-Distname0.05 newestno data-[email protected]-
FreeBSDdevel/p5-Parse-Distname0.05 newestnone known-[email protected]-
NetBSDdevel/p5-Parse-Distname0.05nb5 newestnone known-[email protected]2026-07-16
DragonFlydevel/p5-Parse-Distname0.05 newestnone known-[email protected]-
HardenedBSDdevel/p5-Parse-Distname0.05 newestno data-[email protected]-
GhostBSDdevel/p5-Parse-Distname0.05 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

mport install p5-Parse-Distname

From mports:

cd /usr/mports/devel/p5-Parse-Distname && make install clean

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

RUN_DEPENDS=	p5-Parse-Distname>0:devel/p5-Parse-Distname

Dependency graph

Ports that need it on the left, what it needs to run on the right (to build, as it needs nothing to run); at most 8 of each. "Dependencies" below lists them all.

Dependencies

As this port's Makefile names them.

Build 1

Test 2

Build dependencies 1

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/Parse/Distname.pm
  • %%PERL5_MAN3%%/Parse::Distname.3.gz
distinfo 1
FileSizeSHA256
Parse-Distname-0.05.tar.gz34192a5fa93bec2dab76d883da12d4f344b73bf8beb0cc4b66c24376f3e0f387aef07
Master sites 1
  • CPAN