summaryrefslogtreecommitdiff
path: root/devel/p5-Getopt-Long
AgeCommit message (Collapse)AuthorFilesLines
2009-04-12PkgSrc changes:sno2-7/+7
- Updating package for p5 module Getopt::Long to 2.38 - Set license to artistic-2.0 Upstream changes: * Bugfix for Ticket 35759: First arg to callback function evaluates to false when used in bool context. * Fix problem with prototypes of GetOptionsFrom* functions. * Fix restoring default die handler. * Bugfix for Ticket 24941: Autoabbrev with + incorrect.
2008-10-19Bump the PKGREVISION for all packages which depend directly on perl,he1-1/+2
to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0. The list of packages is computed by finding all packages which end up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl, or PERL5_PACKLIST defined in their make setup (tested via "make show-vars VARNAMES=...").
2008-07-27Update to version 2.37.seb2-6/+7
While here mark this package as not requiring any compiler (empty USE_LANGUAGES variable). Changes since last packaged version (2.35): Changes in version 2.37 ----------------------- * Bugfix: With gnu_compat, --foo= will no longer trigger "Option requires an argument" but return the empty string. Changes in version 2.36 ----------------------- **************** WARNING -- EXPERIMENTAL CODE AHEAD **************** * Parsing options from an arbitrary array The entry point GetOptionsFromArray (exported on demand) can be used to parse command line options that are not passed in via @ARGV, but using an arbitrary array. use Getopt::Long qw(GetOptionsFromArray); $ret = GetOptionsFromArray(\@myopts, ...); * Parsing options from an arbitrary string The entry point GetOptionsFromString (exported on demand) can be used to parse command line options that are not passed in via @ARGV, but using an arbitrary string. use Getopt::Long qw(GetOptionsFromString); $ret = GetOptionsFromString($optstring, ...); Note that upon completion, no arguments may remain in the string. If arguments may remain, call it in list context: ($ret, $args) = GetOptionsFromString($optstring, ...); @$args will have the remaining arguments. **************** END EXPERIMENTAL CODE **************** * Number values for options may include underscores for readability (just like Perls numbers). * Bugfix for Ticket #19432 (found and fixed by khali). * Bugfix to make it cooperate with the bignum pragma. Thanks to Merijn and Yves. * Various small fixes to make the test suite run under 5.004_05. * More examples (skeletons).
2008-06-20Add DESTDIR support.joerg1-1/+2
2007-10-25Remove empty PLISTs from pkgsrc since revision 1.33 of plist/plist.mkjlam1-1/+0
can handle packages having no PLIST files.
2006-03-04Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where nojlam1-2/+2
developer is officially maintaining the package. The rationale for changing this from "tech-pkg" to "pkgsrc-users" is that it implies that any user can try to maintain the package (by submitting patches to the mailing list). Since the folks most likely to care about the package are the folks that want to use it or are already using it, this would leverage the energy of users who aren't developers.
2006-02-15Add devel/p5-Getopt-Long-2.35abs4-0/+30
The Getopt::Long module implements an extended getopt function called GetOptions(). This function adheres to the POSIX syntax for command line options, with GNU extensions. In general, this means that options have long names instead of single letters, and are introduced with a double dash "--". Support for bundling of command line options, as was the case with the more traditional single-letter approach, is provided but not enabled by default.