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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-Getopt-Declare | 1.14_1 |
| DragonFly | devel/p5-Getopt-Declare | 1.14_1 |
| HardenedBSD | devel/p5-Getopt-Declare | 1.14_1 |
| GhostBSD | devel/p5-Getopt-Declare | 1.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.14_1 | 1.14_1 | 1.14_1 | 1.14_1 | 1.14_1 |
| FreeBSD:14:quarterly | 1.14_1 | 1.14_1 | n/a | 1.14_1 | 1.14_1 |
| FreeBSD:15:latest | 1.14_1 | 1.14_1 | n/a | 1.14_1 | 1.14_1 |
| FreeBSD:15:quarterly | 1.14_1 | 1.14_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.14_1 | 1.14_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
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
| File | Size | SHA256 |
|---|---|---|
| Getopt-Declare-1.14.tar.gz | 37966 | 1333ba6a157a45639da5f3da28e628bc42bb71baeb1462beb21c2c2d2c71536b |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.