pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/p5-Getopt-Long



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Sun Feb  4 05:44:24 UTC 2024

Added Files:
        pkgsrc/devel/p5-Getopt-Long: DESCR Makefile distinfo
        pkgsrc/devel/p5-Getopt-Long/patches: patch-Makefile.PL

Log Message:
Revive p5-Getopt-Long, as some packages need newer than what's bundled
with Perl 5.38.0.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.3 pkgsrc/devel/p5-Getopt-Long/DESCR
cvs rdiff -u -r0 -r1.37 pkgsrc/devel/p5-Getopt-Long/Makefile
cvs rdiff -u -r0 -r1.19 pkgsrc/devel/p5-Getopt-Long/distinfo
cvs rdiff -u -r0 -r1.3 pkgsrc/devel/p5-Getopt-Long/patches/patch-Makefile.PL

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/p5-Getopt-Long/DESCR
diff -u /dev/null pkgsrc/devel/p5-Getopt-Long/DESCR:1.3
--- /dev/null   Sun Feb  4 05:44:24 2024
+++ pkgsrc/devel/p5-Getopt-Long/DESCR   Sun Feb  4 05:44:24 2024
@@ -0,0 +1,9 @@
+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.

Index: pkgsrc/devel/p5-Getopt-Long/Makefile
diff -u /dev/null pkgsrc/devel/p5-Getopt-Long/Makefile:1.37
--- /dev/null   Sun Feb  4 05:44:24 2024
+++ pkgsrc/devel/p5-Getopt-Long/Makefile        Sun Feb  4 05:44:24 2024
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.37 2024/02/04 05:44:24 schmonz Exp $
+
+DISTNAME=              Getopt-Long-2.57
+PKGNAME=               p5-${DISTNAME}
+CATEGORIES=            devel perl5
+MASTER_SITES=          ${MASTER_SITE_PERL_CPAN:=Getopt/}
+
+MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=              https://metacpan.org/release/Getopt-Long
+COMMENT=               Extended processing of command line options
+LICENSE=               ${PERL5_LICENSE}
+
+#REPLACE_PERL+=                lib/Getopt/Long.pm
+
+PERL5_PACKLIST=                auto/Getopt/Long/.packlist
+USE_LANGUAGES=         # none
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/p5-Getopt-Long/distinfo
diff -u /dev/null pkgsrc/devel/p5-Getopt-Long/distinfo:1.19
--- /dev/null   Sun Feb  4 05:44:24 2024
+++ pkgsrc/devel/p5-Getopt-Long/distinfo        Sun Feb  4 05:44:24 2024
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.19 2024/02/04 05:44:24 schmonz Exp $
+
+BLAKE2s (Getopt-Long-2.57.tar.gz) = 2f99358e96421eac62c9d3f547c3dc0cf9681d4c0b170f2683d71c46fff82f2d
+SHA512 (Getopt-Long-2.57.tar.gz) = 6b07f683b6f1371bc7f9b018ec659c049d58de25194965c6e2ba3a288e6802ba07257aa5d447bc082f0481d0956798d9f17521faf6a31d896bb3be0d17953b49
+Size (Getopt-Long-2.57.tar.gz) = 45259 bytes
+SHA1 (patch-Makefile.PL) = 2feae055cb7c3ae733b1a6682156420433400fd5

Index: pkgsrc/devel/p5-Getopt-Long/patches/patch-Makefile.PL
diff -u /dev/null pkgsrc/devel/p5-Getopt-Long/patches/patch-Makefile.PL:1.3
--- /dev/null   Sun Feb  4 05:44:24 2024
+++ pkgsrc/devel/p5-Getopt-Long/patches/patch-Makefile.PL       Sun Feb  4 05:44:24 2024
@@ -0,0 +1,16 @@
+$NetBSD: patch-Makefile.PL,v 1.3 2024/02/04 05:44:24 schmonz Exp $
+
+newgetopt.pl does exist in p5-Perl4-CoreLibs. To co-exist
+with that,
+
+--- Makefile.PL.orig   2023-11-09 22:08:55.000000000 +0000
++++ Makefile.PL
+@@ -94,7 +94,7 @@ WriteMakefile(
+         ),
+ 
+       INSTALLDIRS => ($] < 5.011 ? 'perl' : 'site'),
+-      PM        => { "lib/newgetopt.pl"   => '$(INST_LIB)/newgetopt.pl',
++      PM        => {
+                      "lib/Getopt/Long.pm" => '$(INST_LIB)/Getopt/Long.pm',
+                      "lib/Getopt/Long/Parser.pm" => '$(INST_LIB)/Getopt/Long/Parser.pm',
+                    },



Home | Main Index | Thread Index | Old Index