aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2001-06-11 12:34:55 +0800
committerwill <will@FreeBSD.org>2001-06-11 12:34:55 +0800
commit04d213d74828e4a2c1e280640590ec373abdb40d (patch)
tree63f56cd13c816208ab91284e8d46b62a74fdb435 /devel
parentcc5abd15040de39d9c388df1886866fe567f7e02 (diff)
downloadfreebsd-ports-gnome-04d213d74828e4a2c1e280640590ec373abdb40d.tar.gz
freebsd-ports-gnome-04d213d74828e4a2c1e280640590ec373abdb40d.tar.zst
freebsd-ports-gnome-04d213d74828e4a2c1e280640590ec373abdb40d.zip
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')
-rw-r--r--devel/Makefile1
-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
6 files changed, 55 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index e81c722d51ab..443e59c25b4f 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -312,6 +312,7 @@
SUBDIR += p5-File-Tools
SUBDIR += p5-Filter
SUBDIR += p5-FreezeThaw
+ SUBDIR += p5-Getopt-Long
SUBDIR += p5-Glade-Perl
SUBDIR += p5-Heap
SUBDIR += p5-IO
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