aboutsummaryrefslogtreecommitdiff
path: root/mail/p5-Email-Abstract
diff options
context:
space:
mode:
authorLars Thegler <lth@FreeBSD.org>2004-11-21 19:25:44 +0000
committerLars Thegler <lth@FreeBSD.org>2004-11-21 19:25:44 +0000
commitb501e2cf2cbaa5783e7315fb77e0d34810393a61 (patch)
treeec2d52782ed12b6653fe71fef205e4dacb24d1cb /mail/p5-Email-Abstract
parent22a9353df4f4476f9f4220ca6c9304fc72541f80 (diff)
downloadports-b501e2cf2cbaa5783e7315fb77e0d34810393a61.tar.gz
ports-b501e2cf2cbaa5783e7315fb77e0d34810393a61.zip
Notes
Diffstat (limited to 'mail/p5-Email-Abstract')
-rw-r--r--mail/p5-Email-Abstract/Makefile11
-rw-r--r--mail/p5-Email-Abstract/distinfo4
-rw-r--r--mail/p5-Email-Abstract/files/5.005-Makefile.PL7
-rw-r--r--mail/p5-Email-Abstract/files/5.005-lib::Email::Abstract.pm14
4 files changed, 8 insertions, 28 deletions
diff --git a/mail/p5-Email-Abstract/Makefile b/mail/p5-Email-Abstract/Makefile
index 0e165fcae5ea..b8c26be565cd 100644
--- a/mail/p5-Email-Abstract/Makefile
+++ b/mail/p5-Email-Abstract/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Email-Abstract
-PORTVERSION= 2.0
+PORTVERSION= 2.01
CATEGORIES= mail perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Email
@@ -30,10 +30,11 @@ MAN3= Email::Abstract.3 \
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} <= 500504
-EXTRA_PATCHES= ${PATCHDIR}/5.005-Makefile.PL \
- ${PATCHDIR}/5.005-lib::Email::Abstract.pm
-
post-patch:
- @${RM} ${WRKSRC}/lib/Email/Abstract.pm.orig
+ @${PERL} -pi -e '$$_ = "" if /use 5.006;/;' \
+ -e '$$_ = "" if /use warnings;/;' \
+ -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1); $$1/;' \
+ ${WRKSRC}/Makefile.PL \
+ ${WRKSRC}/lib/Email/Abstract.pm
.endif
.include <bsd.port.post.mk>
diff --git a/mail/p5-Email-Abstract/distinfo b/mail/p5-Email-Abstract/distinfo
index a05166458fb5..cc5082bba14b 100644
--- a/mail/p5-Email-Abstract/distinfo
+++ b/mail/p5-Email-Abstract/distinfo
@@ -1,2 +1,2 @@
-MD5 (Email-Abstract-2.0.tar.gz) = 82635bfef138b4b70ac4d8c68f4d0598
-SIZE (Email-Abstract-2.0.tar.gz) = 6257
+MD5 (Email-Abstract-2.01.tar.gz) = 447bc3a9be4f0e2814fa514924105ea0
+SIZE (Email-Abstract-2.01.tar.gz) = 6267
diff --git a/mail/p5-Email-Abstract/files/5.005-Makefile.PL b/mail/p5-Email-Abstract/files/5.005-Makefile.PL
deleted file mode 100644
index 1c053aacb5b5..000000000000
--- a/mail/p5-Email-Abstract/files/5.005-Makefile.PL
+++ /dev/null
@@ -1,7 +0,0 @@
---- Makefile.PL.orig Mon Jul 26 20:28:38 2004
-+++ Makefile.PL Mon Jul 26 20:28:43 2004
-@@ -1,4 +1,3 @@
--use 5.006;
- use ExtUtils::MakeMaker;
- # See lib/ExtUtils/MakeMaker.pm for details of how to influence
- # the contents of the Makefile that is written.
diff --git a/mail/p5-Email-Abstract/files/5.005-lib::Email::Abstract.pm b/mail/p5-Email-Abstract/files/5.005-lib::Email::Abstract.pm
deleted file mode 100644
index 9174a52b3e43..000000000000
--- a/mail/p5-Email-Abstract/files/5.005-lib::Email::Abstract.pm
+++ /dev/null
@@ -1,14 +0,0 @@
---- lib/Email/Abstract.pm.orig Mon Jul 26 20:32:24 2004
-+++ lib/Email/Abstract.pm Mon Jul 26 20:33:09 2004
-@@ -1,10 +1,9 @@
- package Email::Abstract;
- use Carp;
- use Email::Simple;
--use 5.006;
- use strict;
- use warnings;
--our $VERSION = '2.0';
-+use vars '$VERSION'; $VERSION = '2.0';
- use Module::Pluggable search_path => [ __PACKAGE__ ], require => 1;
- my @plugins = __PACKAGE__->plugins(); # Requires them.
- for my $func (qw(get_header get_body