diff options
author | tobez <tobez@FreeBSD.org> | 2001-09-17 04:55:29 +0800 |
---|---|---|
committer | tobez <tobez@FreeBSD.org> | 2001-09-17 04:55:29 +0800 |
commit | fbcab8992933800a5fd64d54005919ba9c2826ad (patch) | |
tree | ef55ef75922df9138b0bd5ccf8cdf681ac75a2cb /devel | |
parent | 3848a7eb33599ab4cd0beb37a2008badcd8b546f (diff) | |
download | freebsd-ports-gnome-fbcab8992933800a5fd64d54005919ba9c2826ad.tar.gz freebsd-ports-gnome-fbcab8992933800a5fd64d54005919ba9c2826ad.tar.zst freebsd-ports-gnome-fbcab8992933800a5fd64d54005919ba9c2826ad.zip |
Add p5-Getopt-Declare, yet another (but very nice) perl module for
command-line argument parsing.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-Getopt-Declare/Makefile | 25 | ||||
-rw-r--r-- | devel/p5-Getopt-Declare/distinfo | 1 | ||||
-rw-r--r-- | devel/p5-Getopt-Declare/pkg-comment | 1 | ||||
-rw-r--r-- | devel/p5-Getopt-Declare/pkg-descr | 17 | ||||
-rw-r--r-- | devel/p5-Getopt-Declare/pkg-plist | 5 |
6 files changed, 50 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 0fe80c068e2b..f7b4d55ff9f9 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -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 diff --git a/devel/p5-Getopt-Declare/Makefile b/devel/p5-Getopt-Declare/Makefile new file mode 100644 index 000000000000..40b2a7f5e8a6 --- /dev/null +++ b/devel/p5-Getopt-Declare/Makefile @@ -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> diff --git a/devel/p5-Getopt-Declare/distinfo b/devel/p5-Getopt-Declare/distinfo new file mode 100644 index 000000000000..1043b1549bcf --- /dev/null +++ b/devel/p5-Getopt-Declare/distinfo @@ -0,0 +1 @@ +MD5 (Getopt-Declare-1.09.tar.gz) = 9b1dbe84adb34534e7986e0b5b7fdcf0 diff --git a/devel/p5-Getopt-Declare/pkg-comment b/devel/p5-Getopt-Declare/pkg-comment new file mode 100644 index 000000000000..111fb3b27fdb --- /dev/null +++ b/devel/p5-Getopt-Declare/pkg-comment @@ -0,0 +1 @@ +Declaratively Expressed Command-Line Arguments via Regular Expressions diff --git a/devel/p5-Getopt-Declare/pkg-descr b/devel/p5-Getopt-Declare/pkg-descr new file mode 100644 index 000000000000..3608a9c91929 --- /dev/null +++ b/devel/p5-Getopt-Declare/pkg-descr @@ -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 diff --git a/devel/p5-Getopt-Declare/pkg-plist b/devel/p5-Getopt-Declare/pkg-plist new file mode 100644 index 000000000000..8702d06fb0b6 --- /dev/null +++ b/devel/p5-Getopt-Declare/pkg-plist @@ -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 |