diff options
author | Anton Berezin <tobez@FreeBSD.org> | 2001-09-16 20:55:29 +0000 |
---|---|---|
committer | Anton Berezin <tobez@FreeBSD.org> | 2001-09-16 20:55:29 +0000 |
commit | 42a2c84bca46dbb3a2c16a385bb9d4b94ffad3ba (patch) | |
tree | 9b8cae20e63df2cedde2c79dd8636450c8249dfe /devel/p5-Getopt-Declare | |
parent | 2786013a14ab8a11e9322c7f2a19dce55f0cf5ea (diff) | |
download | ports-42a2c84bca46dbb3a2c16a385bb9d4b94ffad3ba.tar.gz ports-42a2c84bca46dbb3a2c16a385bb9d4b94ffad3ba.zip |
Add p5-Getopt-Declare, yet another (but very nice) perl module for
command-line argument parsing.
Notes
Notes:
svn path=/head/; revision=47892
Diffstat (limited to 'devel/p5-Getopt-Declare')
-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 |
5 files changed, 49 insertions, 0 deletions
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 |