diff options
author | lth <lth@FreeBSD.org> | 2004-11-22 03:25:44 +0800 |
---|---|---|
committer | lth <lth@FreeBSD.org> | 2004-11-22 03:25:44 +0800 |
commit | 9a28847ad7427aa2e093b94d0332a4f73a5c8214 (patch) | |
tree | 563dff0763842e421d5e258a341ea73f7eed1967 /mail/p5-Email-Abstract | |
parent | 70e42e41e315cc8c7e9c5e684e4d4140507ce95f (diff) | |
download | freebsd-ports-gnome-9a28847ad7427aa2e093b94d0332a4f73a5c8214.tar.gz freebsd-ports-gnome-9a28847ad7427aa2e093b94d0332a4f73a5c8214.tar.zst freebsd-ports-gnome-9a28847ad7427aa2e093b94d0332a4f73a5c8214.zip |
- Update to 2.01
- Moved simple patches into Makefile
Diffstat (limited to 'mail/p5-Email-Abstract')
-rw-r--r-- | mail/p5-Email-Abstract/Makefile | 11 | ||||
-rw-r--r-- | mail/p5-Email-Abstract/distinfo | 4 | ||||
-rw-r--r-- | mail/p5-Email-Abstract/files/5.005-Makefile.PL | 7 | ||||
-rw-r--r-- | mail/p5-Email-Abstract/files/5.005-lib::Email::Abstract.pm | 14 |
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 |