aboutsummaryrefslogtreecommitdiff
path: root/mail/p5-Email-MIME-ContentType
diff options
context:
space:
mode:
authorLars Thegler <lth@FreeBSD.org>2005-02-22 15:14:46 +0000
committerLars Thegler <lth@FreeBSD.org>2005-02-22 15:14:46 +0000
commit99445043f6d56107f240dc9553c3b753505265f6 (patch)
tree32a46475cf94bd7e9aef0d9190b5f993444c3aef /mail/p5-Email-MIME-ContentType
parent3af4bac585307d34cd3519154ea6d88a04ee81d9 (diff)
downloadports-99445043f6d56107f240dc9553c3b753505265f6.tar.gz
ports-99445043f6d56107f240dc9553c3b753505265f6.zip
Update to 1.01
Notes
Notes: svn path=/head/; revision=129552
Diffstat (limited to 'mail/p5-Email-MIME-ContentType')
-rw-r--r--mail/p5-Email-MIME-ContentType/Makefile10
-rw-r--r--mail/p5-Email-MIME-ContentType/distinfo4
2 files changed, 6 insertions, 8 deletions
diff --git a/mail/p5-Email-MIME-ContentType/Makefile b/mail/p5-Email-MIME-ContentType/Makefile
index cd2ca5ff477b..782a8c940ea7 100644
--- a/mail/p5-Email-MIME-ContentType/Makefile
+++ b/mail/p5-Email-MIME-ContentType/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= Email-MIME-ContentType
-PORTVERSION= 1.0
-PORTREVISION= 1
+PORTVERSION= 1.01
CATEGORIES= mail perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Email
@@ -21,11 +20,10 @@ PERL_CONFIGURE= yes
MAN3= Email::MIME::ContentType.3
.include <bsd.port.pre.mk>
+.if ${PERL_LEVEL} <= 500503
post-patch:
${PERL} -pi -e '$$_ = "" if /use 5.006;/;' \
+ -e '$$_ = "(" if /ABSTRACT_FROM/;' \
${WRKSRC}/Makefile.PL
- ${PERL} -pi -e '$$_ = "" if /require 5.006;/;' \
- -e '$$_ = "" if /use warnings/;' \
- -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1); $$1/;' \
- ${WRKSRC}/ContentType.pm
+.endif
.include <bsd.port.post.mk>
diff --git a/mail/p5-Email-MIME-ContentType/distinfo b/mail/p5-Email-MIME-ContentType/distinfo
index c41db2895c1a..a1b0af482fd5 100644
--- a/mail/p5-Email-MIME-ContentType/distinfo
+++ b/mail/p5-Email-MIME-ContentType/distinfo
@@ -1,2 +1,2 @@
-MD5 (Email-MIME-ContentType-1.0.tar.gz) = 39633da4afe003204454e26e64f9fb5a
-SIZE (Email-MIME-ContentType-1.0.tar.gz) = 2957
+MD5 (Email-MIME-ContentType-1.01.tar.gz) = 1aa682d2841f5d568416772bbaede1c9
+SIZE (Email-MIME-ContentType-1.01.tar.gz) = 3211