Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 May 2001 20:14:48 +0200 (CEST)
From:      tobez@tobez.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/27800: New port: devel/p5-Getopt-Long (Getopt::Long - extended processing of command line options)
Message-ID:  <20010531181448.915C5543D@heechee.tobez.org>

next in thread | raw e-mail | index | archive | help

>Number:         27800
>Category:       ports
>Synopsis:       New port: devel/p5-Getopt-Long (Getopt::Long - extended processing of command line options)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 31 11:20:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Anton Berezin
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
>Description:

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.

***

The Getopt::Long in this port is more recent that the one included into
5.005_03 and 5.6.0 distribution.

>How-To-Repeat:
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-Getopt-Long
#	p5-Getopt-Long/Makefile
#	p5-Getopt-Long/pkg-plist
#	p5-Getopt-Long/pkg-comment
#	p5-Getopt-Long/pkg-descr
#	p5-Getopt-Long/distinfo
#
echo c - p5-Getopt-Long
mkdir -p p5-Getopt-Long > /dev/null 2>&1
echo x - p5-Getopt-Long/Makefile
sed 's/^X//' >p5-Getopt-Long/Makefile << 'END-of-p5-Getopt-Long/Makefile'
X# New ports collection makefile for:	devel/p5-Getopt-Long
X# Date created:				31 May 2001
X# Whom:					Anton Berezin <tobez@tobez.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Getopt-Long
XPORTVERSION=	2.25
XCATEGORIES=	devel perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	Getopt
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	tobez@tobez.org
X
XPERL_CONFIGURE=	yes
X
XMAN3=		Getopt::Long.3
XMANPREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
X
Xpre-configure:
X	${PERL} -pi -e 'm.INSTALLDIRS.&&s,.,,sg' ${WRKSRC}/Makefile.PL
X
X.include <bsd.port.mk>
END-of-p5-Getopt-Long/Makefile
echo x - p5-Getopt-Long/pkg-plist
sed 's/^X//' >p5-Getopt-Long/pkg-plist << 'END-of-p5-Getopt-Long/pkg-plist'
Xlib/perl5/site_perl/%%PERL_VER%%/auto/Getopt/Long/GetOptions.al
Xlib/perl5/site_perl/%%PERL_VER%%/auto/Getopt/Long/FindOption.al
Xlib/perl5/site_perl/%%PERL_VER%%/auto/Getopt/Long/Configure.al
Xlib/perl5/site_perl/%%PERL_VER%%/auto/Getopt/Long/config.al
Xlib/perl5/site_perl/%%PERL_VER%%/auto/Getopt/Long/Croak.al
Xlib/perl5/site_perl/%%PERL_VER%%/auto/Getopt/Long/autosplit.ix
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Getopt/Long/.packlist
Xlib/perl5/site_perl/%%PERL_VER%%/newgetopt.pl
Xlib/perl5/site_perl/%%PERL_VER%%/Getopt/Long.pm
X@dirrm lib/perl5/site_perl/%%PERL_VER%%/auto/Getopt/Long
X@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Getopt/Long
X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/auto/Getopt 2>/dev/null || true
X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Getopt 2>/dev/null || true
X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Getopt 2>/dev/null || true
END-of-p5-Getopt-Long/pkg-plist
echo x - p5-Getopt-Long/pkg-comment
sed 's/^X//' >p5-Getopt-Long/pkg-comment << 'END-of-p5-Getopt-Long/pkg-comment'
XGetopt::Long - extended processing of command line options
END-of-p5-Getopt-Long/pkg-comment
echo x - p5-Getopt-Long/pkg-descr
sed 's/^X//' >p5-Getopt-Long/pkg-descr << 'END-of-p5-Getopt-Long/pkg-descr'
XModule Getopt::Long implements an extended getopt function called
XGetOptions(). This function implements the POSIX standard for command
Xline options, with GNU extensions, while still capable of handling the
Xtraditional one-letter options.
X
XIn general, this means that command line options can have long names
Xinstead of single letters, and are introduced with a double dash `--'.
X
XOptionally, Getopt::Long can support the traditional bundling of
Xsingle-letter command line options.
X
X-Anton
X<tobez@tobez.org>
END-of-p5-Getopt-Long/pkg-descr
echo x - p5-Getopt-Long/distinfo
sed 's/^X//' >p5-Getopt-Long/distinfo << 'END-of-p5-Getopt-Long/distinfo'
XMD5 (Getopt-Long-2.25.tar.gz) = 34d2712622aba807a9a49545ee48e5b3
END-of-p5-Getopt-Long/distinfo
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010531181448.915C5543D>