summaryrefslogtreecommitdiff
path: root/editors/p5-Padre-Plugin-Vi
diff options
context:
space:
mode:
authorsno <sno>2010-08-20 19:15:28 +0000
committersno <sno>2010-08-20 19:15:28 +0000
commitc449b3383f52399ff378d1d1d85f034085529f50 (patch)
tree0afd53956d3271af10321911254465eca4fb17d5 /editors/p5-Padre-Plugin-Vi
parentaf026cc2d7019fa0465a340c629e1788e4e3dbb7 (diff)
downloadpkgsrc-c449b3383f52399ff378d1d1d85f034085529f50.tar.gz
Updating editors/p5-Padre-Plugin-Vi from 0.22 to 0.23 (using
CPAN distribution 0.23.0, because 0.23 seems to have files distributed, which doesn't belong there). pkgsrc changes: - Fixing for Padre-0.69 (Wx::perl::Dialog -> Padre::Wx::Dialog) - mark for unsafe using make-jobs Upstream changes: 0.23 2010.07.24 actually install the translations (RSN) compatibility to newer Padre versions (ZENOG) added MANIFEST.SKIP
Diffstat (limited to 'editors/p5-Padre-Plugin-Vi')
-rw-r--r--editors/p5-Padre-Plugin-Vi/Makefile15
-rw-r--r--editors/p5-Padre-Plugin-Vi/distinfo11
-rw-r--r--editors/p5-Padre-Plugin-Vi/patches/patch-aa13
-rw-r--r--editors/p5-Padre-Plugin-Vi/patches/patch-ab32
-rw-r--r--editors/p5-Padre-Plugin-Vi/patches/patch-ac15
5 files changed, 63 insertions, 23 deletions
diff --git a/editors/p5-Padre-Plugin-Vi/Makefile b/editors/p5-Padre-Plugin-Vi/Makefile
index 7f0205d7ada..a841204d03e 100644
--- a/editors/p5-Padre-Plugin-Vi/Makefile
+++ b/editors/p5-Padre-Plugin-Vi/Makefile
@@ -1,10 +1,11 @@
-# $NetBSD: Makefile,v 1.2 2010/02/16 15:22:45 sno Exp $
+# $NetBSD: Makefile,v 1.3 2010/08/20 19:15:28 sno Exp $
#
-DISTNAME= Padre-Plugin-Vi-0.22
-PKGNAME= p5-${DISTNAME}
+DISTNAME= Padre-Plugin-Vi-0.23.0
+PKGNAME= p5-${DISTNAME:S/.0//}
CATEGORIES= editors perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Padre/}
+WRKSRC= ${WRKDIR}/${DISTNAME:S/.0//}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Padre-Plugin-Vi/
@@ -13,13 +14,17 @@ LICENSE= ${PERL5_LICENSE}
PKG_DESTDIR_SUPPORT= user-destdir
-DEPENDS+= p5-Padre>=0.25:../../editors/p5-Padre
+MAKE_JOBS_SAFE= NO
+
+BUILD_DEPENDS+= p5-Locale-Msgfmt>=0.14:../../devel/p5-Locale-Msgfmt
+
+DEPENDS+= p5-Padre>=0.37:../../editors/p5-Padre
PERL5_PACKLIST= auto/Padre/Plugin/Vi/.packlist
PERL5_MODULE_TYPE= Module::Install::Bundled
pre-configure:
- ${FIND} ${WRKSRC} -name "*.orig" -type f | ${XARGS} ${RM}
+ cd ${WRKSRC} && find `pwd` -name "*.orig" -type f -exec ${RM} {} \;
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/editors/p5-Padre-Plugin-Vi/distinfo b/editors/p5-Padre-Plugin-Vi/distinfo
index 5b231c0233b..332f0692748 100644
--- a/editors/p5-Padre-Plugin-Vi/distinfo
+++ b/editors/p5-Padre-Plugin-Vi/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1.1.1 2010/01/16 18:32:32 sno Exp $
+$NetBSD: distinfo,v 1.2 2010/08/20 19:15:28 sno Exp $
-SHA1 (Padre-Plugin-Vi-0.22.tar.gz) = f47c59fe84a0836133ca05eef212782637ca8408
-RMD160 (Padre-Plugin-Vi-0.22.tar.gz) = 2ed81c5432a0a021501e43fabd04961e129de710
-Size (Padre-Plugin-Vi-0.22.tar.gz) = 25170 bytes
-SHA1 (patch-aa) = 28a1a7403a94e8fcc8cadb90aafc9a98e487b8d6
+SHA1 (Padre-Plugin-Vi-0.23.0.tar.gz) = e2a241bacb4101804dc0b162afcbb35d5b0496df
+RMD160 (Padre-Plugin-Vi-0.23.0.tar.gz) = 5b8c78895f46d8ba1c6ea07350928978a5767bf9
+Size (Padre-Plugin-Vi-0.23.0.tar.gz) = 29422 bytes
+SHA1 (patch-ab) = 96f98a006db9c21d63893507fd3648edf2b93de4
+SHA1 (patch-ac) = 88a5bd6341f10f35cfb158abbbacd6272d8c6d62
diff --git a/editors/p5-Padre-Plugin-Vi/patches/patch-aa b/editors/p5-Padre-Plugin-Vi/patches/patch-aa
deleted file mode 100644
index 02d3044e266..00000000000
--- a/editors/p5-Padre-Plugin-Vi/patches/patch-aa
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2010/01/16 18:32:32 sno Exp $
-
---- lib/Padre/Plugin/Vi.pm.orig 2009-06-22 08:05:41.000000000 +0000
-+++ lib/Padre/Plugin/Vi.pm
-@@ -307,7 +307,7 @@ sub about {
- $about->SetCopyright( _T("Copyright 2008 Gabor Szabo") );
-
- # Only Unix/GTK native about box supports websites
-- if (Padre::Util::WXGTK) {
-+ if (Padre::Constant::WXGTK) {
- $about->SetWebSite("http://padre.perlide.org/");
- }
-
diff --git a/editors/p5-Padre-Plugin-Vi/patches/patch-ab b/editors/p5-Padre-Plugin-Vi/patches/patch-ab
new file mode 100644
index 00000000000..04248ecd67a
--- /dev/null
+++ b/editors/p5-Padre-Plugin-Vi/patches/patch-ab
@@ -0,0 +1,32 @@
+$NetBSD: patch-ab,v 1.1 2010/08/20 19:15:28 sno Exp $
+
+Patch to switch from Wx::Perl::Dialog (Padre-0.66) to Padre::Wx::Dialog
+
+--- lib/Padre/Plugin/Vi/CommandLine.pm.orig 2010-08-20 19:07:14.000000000 +0000
++++ lib/Padre/Plugin/Vi/CommandLine.pm
+@@ -3,11 +3,11 @@ package Padre::Plugin::Vi::CommandLine;
+ use warnings;
+ use strict;
+
+-use Cwd ();
+-use Wx::Perl::Dialog ();
+-use Padre::Wx ();
+-use File::Spec ();
+-use File::Basename ();
++use Cwd ();
++use Padre::Wx::Dialog ();
++use Padre::Wx ();
++use File::Spec ();
++use File::Basename ();
+
+ use Padre::Plugin::Vi::TabCompletition qw(clear_tab handle_tab set_original_cwd);
+
+@@ -66,7 +66,7 @@ sub dialog {
+
+ my $main = Padre->ide->wx->main;
+ if ( not $dialog ) {
+- $dialog = Wx::Perl::Dialog->new(
++ $dialog = Padre::Wx::Dialog->new(
+ parent => $main->{notebook},
+ title => "Command Line",
+ layout => \@layout,
diff --git a/editors/p5-Padre-Plugin-Vi/patches/patch-ac b/editors/p5-Padre-Plugin-Vi/patches/patch-ac
new file mode 100644
index 00000000000..c568d48dad4
--- /dev/null
+++ b/editors/p5-Padre-Plugin-Vi/patches/patch-ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.1 2010/08/20 19:15:28 sno Exp $
+
+Patch to switch from Wx::Perl::Dialog (Padre-0.66) to Padre::Wx::Dialog
+
+--- Makefile.PL.orig 2010-08-20 19:07:24.000000000 +0000
++++ Makefile.PL
+@@ -7,7 +7,7 @@ license 'perl';
+ author 'Gabor Szabo <szabgab@gmail.com>';
+ all_from 'lib/Padre/Plugin/Vi.pm';
+ requires 'Padre' => '0.37'; #Padre::Constant
+-requires 'Wx::Perl::Dialog' => '0.04';
++requires 'Padre::Wx::Dialog' => '0.04';
+ test_requires 'Test::More' => '0.47';
+ no_index 'directory' => qw{ t xt eg share inc};
+ homepage 'http://padre.perlide.org/';