summaryrefslogtreecommitdiff
path: root/devel/p5-Getopt-Long
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2001-06-11 04:34:55 +0000
committerWill Andrews <will@FreeBSD.org>2001-06-11 04:34:55 +0000
commit803ed04626e0ddc17d9058264ea892e02935f15d (patch)
treecfc4bfc61854920826d0e59360f6fce4da4e0a83 /devel/p5-Getopt-Long
parentAdd glg 0.2.a, Open Application Builder (code generator) for the (diff)
Add p5-Getopt-Long 2.25, a perl module for extended processing of
command line options. PR: 27800 Submitted by: Anton Berezin <tobez@tobez.org>
Diffstat (limited to 'devel/p5-Getopt-Long')
-rw-r--r--devel/p5-Getopt-Long/Makefile25
-rw-r--r--devel/p5-Getopt-Long/distinfo1
-rw-r--r--devel/p5-Getopt-Long/pkg-comment1
-rw-r--r--devel/p5-Getopt-Long/pkg-descr13
-rw-r--r--devel/p5-Getopt-Long/pkg-plist14
5 files changed, 54 insertions, 0 deletions
diff --git a/devel/p5-Getopt-Long/Makefile b/devel/p5-Getopt-Long/Makefile
new file mode 100644
index 000000000000..cdda22e764e1
--- /dev/null
+++ b/devel/p5-Getopt-Long/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: devel/p5-Getopt-Long
+# Date created: 31 May 2001
+# Whom: Anton Berezin <tobez@tobez.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Getopt-Long
+PORTVERSION= 2.25
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Getopt
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= tobez@tobez.org
+
+PERL_CONFIGURE= yes
+
+MAN3= Getopt::Long.3
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+pre-configure:
+ ${PERL} -pi -e 'm.INSTALLDIRS.&&s,.,,sg' ${WRKSRC}/Makefile.PL
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Getopt-Long/distinfo b/devel/p5-Getopt-Long/distinfo
new file mode 100644
index 000000000000..3aeacb78d7bb
--- /dev/null
+++ b/devel/p5-Getopt-Long/distinfo
@@ -0,0 +1 @@
+MD5 (Getopt-Long-2.25.tar.gz) = 34d2712622aba807a9a49545ee48e5b3
diff --git a/devel/p5-Getopt-Long/pkg-comment b/devel/p5-Getopt-Long/pkg-comment
new file mode 100644
index 000000000000..d6d9040467f4
--- /dev/null
+++ b/devel/p5-Getopt-Long/pkg-comment
@@ -0,0 +1 @@
+Perl module for extended processing of command line options
diff --git a/devel/p5-Getopt-Long/pkg-descr b/devel/p5-Getopt-Long/pkg-descr
new file mode 100644
index 000000000000..578cc10cf224
--- /dev/null
+++ b/devel/p5-Getopt-Long/pkg-descr
@@ -0,0 +1,13 @@
+Module Getopt::Long implements an extended getopt function called
+GetOptions(). This function implements the POSIX standard for command
+line options, with GNU extensions, while still capable of handling the
+traditional one-letter options.
+
+In general, this means that command line options can have long names
+instead of single letters, and are introduced with a double dash `--'.
+
+Optionally, Getopt::Long can support the traditional bundling of
+single-letter command line options.
+
+-Anton
+<tobez@tobez.org>
diff --git a/devel/p5-Getopt-Long/pkg-plist b/devel/p5-Getopt-Long/pkg-plist
new file mode 100644
index 000000000000..f43ddea66494
--- /dev/null
+++ b/devel/p5-Getopt-Long/pkg-plist
@@ -0,0 +1,14 @@
+lib/perl5/site_perl/%%PERL_VER%%/auto/Getopt/Long/GetOptions.al
+lib/perl5/site_perl/%%PERL_VER%%/auto/Getopt/Long/FindOption.al
+lib/perl5/site_perl/%%PERL_VER%%/auto/Getopt/Long/Configure.al
+lib/perl5/site_perl/%%PERL_VER%%/auto/Getopt/Long/config.al
+lib/perl5/site_perl/%%PERL_VER%%/auto/Getopt/Long/Croak.al
+lib/perl5/site_perl/%%PERL_VER%%/auto/Getopt/Long/autosplit.ix
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Getopt/Long/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/newgetopt.pl
+lib/perl5/site_perl/%%PERL_VER%%/Getopt/Long.pm
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/auto/Getopt/Long
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Getopt/Long
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/auto/Getopt 2>/dev/null || true
+@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