BSD Ports

devel/p5-Getopt-Declare 1.14_1 FreeBSD

Declaratively Expressed Command-Line Arguments via Regular Expressions

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Categories
devel, perl5
Package size
52.5 KiB, 121.6 KiB installed

Description

Getopt::Declare is yet another command-line argument parser, one which is specifically designed to be powerful but exceptionally easy to use.

To parse the command-line in @ARGV, one simply creates a Getopt::Declare object, by passing Getopt::Declare::new() a specification of the various parameters that may be encountered.

The specification is a single string, in which the syntax of each parameter is declared, along with a description and (optionally) one or more actions to be performed when the parameter is encountered. The specification string may also include other usage formatting information (such as group headings or separators) as well as standard Perl comments (which are ignored).

In the other systems

SystemPortVersion
FreeBSDdevel/p5-Getopt-Declare1.14_1
DragonFlydevel/p5-Getopt-Declare1.14_1
HardenedBSDdevel/p5-Getopt-Declare1.14_1
GhostBSDdevel/p5-Getopt-Declare1.14_1

Install

Binary package:

pkg install p5-Getopt-Declare

From the ports tree:

cd /usr/ports/devel/p5-Getopt-Declare/ && make install clean

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

RUN_DEPENDS=	p5-Getopt-Declare>0:devel/p5-Getopt-Declare

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.14_11.14_11.14_11.14_11.14_1
FreeBSD:14:quarterly1.14_11.14_1n/a1.14_11.14_1
FreeBSD:15:latest1.14_11.14_1n/a1.14_11.14_1
FreeBSD:15:quarterly1.14_11.14_1n/an/an/a
FreeBSD:16:latest1.14_11.14_1n/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
Required by 1

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/Getopt/Declare.pm
  • %%PERL5_MAN3%%/Getopt::Declare.3.gz
distinfo 1
FileSizeSHA256
Getopt-Declare-1.14.tar.gz379661333ba6a157a45639da5f3da28e628bc42bb71baeb1462beb21c2c2d2c71536b
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.