pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/p5-Perl-Version Initial import of p5-Perl-Versio...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/978565841726
branches:  trunk
changeset: 555869:978565841726
user:      seb <seb%pkgsrc.org@localhost>
date:      Tue Mar 10 21:22:59 2009 +0000

description:
Initial import of p5-Perl-Version version 1.009 in the NetBSD
Packages Collection.

The Perl 5 module Perl::Version provides a simple interface for
parsing, manipulating and formatting Perl version strings.  Unlike
version.pm (which concentrates on parsing and comparing version
strings) Perl::Version is designed for cases where you'd like to
parse a version, modify it and get back the modified version formatted
like the original.

diffstat:

 devel/p5-Perl-Version/DESCR            |   6 ++++++
 devel/p5-Perl-Version/Makefile         |  22 ++++++++++++++++++++++
 devel/p5-Perl-Version/distinfo         |   6 ++++++
 devel/p5-Perl-Version/patches/patch-aa |  15 +++++++++++++++
 4 files changed, 49 insertions(+), 0 deletions(-)

diffs (65 lines):

diff -r 17af2f84022e -r 978565841726 devel/p5-Perl-Version/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Perl-Version/DESCR       Tue Mar 10 21:22:59 2009 +0000
@@ -0,0 +1,6 @@
+The Perl 5 module Perl::Version provides a simple interface for
+parsing, manipulating and formatting Perl version strings.
+Unlike version.pm (which concentrates on parsing and comparing
+version strings) Perl::Version is designed for cases where you'd
+like to parse a version, modify it and get back the modified version
+formatted like the original.
diff -r 17af2f84022e -r 978565841726 devel/p5-Perl-Version/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Perl-Version/Makefile    Tue Mar 10 21:22:59 2009 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/03/10 21:22:59 seb Exp $
+#
+
+DISTNAME=      Perl-Version-1.009
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    devel perl5
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Perl/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://search.cpan.org/dist/Perl-Version/
+COMMENT=       Perl 5 module to parse and manipulate Perl version strings
+
+USE_LANGUAGES=         # empty
+MAKE_ENV+=             PERL_MM_USE_DEFAULT=1
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+DEPENDS+=      p5-File-Slurp>=9999.12:../../devel/p5-File-Slurp
+
+PERL5_PACKLIST=                auto/Perl/Version/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 17af2f84022e -r 978565841726 devel/p5-Perl-Version/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Perl-Version/distinfo    Tue Mar 10 21:22:59 2009 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/03/10 21:22:59 seb Exp $
+
+SHA1 (Perl-Version-1.009.tar.gz) = 9a1dd0d1eb4652ea7233c0d02df2bce84b470d2c
+RMD160 (Perl-Version-1.009.tar.gz) = 2ff3a248028c03b0b57ae4b8ee3bf0b7009ff3f0
+Size (Perl-Version-1.009.tar.gz) = 22907 bytes
+SHA1 (patch-aa) = 553a341bc114a1a0dbfda8c793135c7392bddb7f
diff -r 17af2f84022e -r 978565841726 devel/p5-Perl-Version/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Perl-Version/patches/patch-aa    Tue Mar 10 21:22:59 2009 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/03/10 21:22:59 seb Exp $
+
+Install the perl-reversion script.
+
+--- Makefile.PL.orig   2009-03-07 14:48:16.000000000 +0000
++++ Makefile.PL
+@@ -33,7 +33,7 @@ my %ARGS = (
+ $ARGS{SIGN} = 1 if MM->can( 'signature_target' );
+ 
+ while ( my ( $exe, $spec ) = each %EXE ) {
+-  my $yn = prompt( "Install $exe script?", "N" );
++  my $yn = prompt( "Install $exe script?", "Y" );
+   if ( $yn =~ /^y/i ) {
+     while ( my ( $key, $val ) = each %$spec ) {
+       if ( ref $val eq 'HASH' ) {



Home | Main Index | Thread Index | Old Index