mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 09:19:15 -04:00
Add p5-Getopt-Declare, yet another (but very nice) perl module for
command-line argument parsing.
This commit is contained in:
parent
2786013a14
commit
42a2c84bca
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=47892
6 changed files with 50 additions and 0 deletions
|
@ -348,6 +348,7 @@
|
|||
SUBDIR += p5-File-Tools
|
||||
SUBDIR += p5-Filter
|
||||
SUBDIR += p5-FreezeThaw
|
||||
SUBDIR += p5-Getopt-Declare
|
||||
SUBDIR += p5-Getopt-Long
|
||||
SUBDIR += p5-Glade-Perl
|
||||
SUBDIR += p5-Heap
|
||||
|
|
25
devel/p5-Getopt-Declare/Makefile
Normal file
25
devel/p5-Getopt-Declare/Makefile
Normal file
|
@ -0,0 +1,25 @@
|
|||
# New ports collection makefile for: devel/p5-Getopt-Declare
|
||||
# Date created: 16 Sep 2001
|
||||
# Whom: Anton Berezin <tobez@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= Getopt-Declare
|
||||
PORTVERSION= 1.09
|
||||
CATEGORIES= devel perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= Getopt
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= tobez@FreeBSD.org
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Text/Balanced.pm:${PORTSDIR}/textproc/p5-Text-Balanced
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
MAN3= Getopt::Declare.3
|
||||
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
||||
|
||||
.include <bsd.port.mk>
|
1
devel/p5-Getopt-Declare/distinfo
Normal file
1
devel/p5-Getopt-Declare/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (Getopt-Declare-1.09.tar.gz) = 9b1dbe84adb34534e7986e0b5b7fdcf0
|
1
devel/p5-Getopt-Declare/pkg-comment
Normal file
1
devel/p5-Getopt-Declare/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
|||
Declaratively Expressed Command-Line Arguments via Regular Expressions
|
17
devel/p5-Getopt-Declare/pkg-descr
Normal file
17
devel/p5-Getopt-Declare/pkg-descr
Normal file
|
@ -0,0 +1,17 @@
|
|||
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).
|
||||
|
||||
WWW: http://search.cpan.org/search?dist=Getopt-Declare
|
||||
|
||||
-Anton
|
5
devel/p5-Getopt-Declare/pkg-plist
Normal file
5
devel/p5-Getopt-Declare/pkg-plist
Normal file
|
@ -0,0 +1,5 @@
|
|||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Getopt/Declare/.packlist
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Getopt/Declare.pm
|
||||
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Getopt/Declare
|
||||
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Getopt 2>/dev/null || true
|
||||
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Getopt 2>/dev/null || true
|
Loading…
Add table
Reference in a new issue