Update to 1.85. Now requires perl from ports.

PR:		ports/100266
Submitted by:	Jin-Shan Tseng <tjs@cdpa.nsysu.edu.tw>
This commit is contained in:
Lars Thegler 2006-07-14 09:10:09 +00:00
parent b2b5fc6c94
commit 2a30d3306b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=167773
2 changed files with 13 additions and 16 deletions

View file

@ -6,7 +6,7 @@
#
PORTNAME= Email-MIME
PORTVERSION= 1.82
PORTVERSION= 1.85
CATEGORIES= mail perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Email
@ -15,10 +15,10 @@ PKGNAMEPREFIX= p5-
MAINTAINER= lth@FreeBSD.org
COMMENT= Easy MIME message parsing
BUILD_DEPENDS= ${SITE_PERL}/Email/Simple.pm:${PORTSDIR}/mail/p5-Email-Simple \
${SITE_PERL}/Email/MIME/Encodings.pm:${PORTSDIR}/mail/p5-Email-MIME-Encodings \
${SITE_PERL}/Email/MIME/ContentType.pm:${PORTSDIR}/mail/p5-Email-MIME-ContentType \
${SITE_PERL}/MIME/Types.pm:${PORTSDIR}/mail/p5-MIME-Types
BUILD_DEPENDS= p5-Email-Simple>=1.91:${PORTSDIR}/mail/p5-Email-Simple \
p5-Email-MIME-Encodings>=1.3:${PORTSDIR}/mail/p5-Email-MIME-Encodings \
p5-Email-MIME-ContentType>=1.0:${PORTSDIR}/mail/p5-Email-MIME-ContentType \
p5-MIME-Types>=1.13:${PORTSDIR}/mail/p5-MIME-Types
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
@ -28,16 +28,13 @@ MAN3= Email::MIME.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500703
BUILD_DEPENDS+= ${SITE_PERL}/MIME/Words.pm:${PORTSDIR}/mail/p5-MIME-Tools
RUN_DEPENDS+= ${SITE_PERL}/MIME/Words.pm:${PORTSDIR}/mail/p5-MIME-Tools
BUILD_DEPENDS+= p5-MIME-Tools>=5.404:${PORTSDIR}/mail/p5-MIME-Tools
RUN_DEPENDS+= p5-MIME-Tools>=5.404:${PORTSDIR}/mail/p5-MIME-Tools
.endif
.if ${PERL_LEVEL} <= 500503
post-patch:
${PERL} -pi -e '$$_ = "" if /require 5.006;/;' \
-e '$$_ = "" if /use warnings/;' \
-e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1); $$1/;' \
${WRKSRC}/MIME.pm
.if ${PERL_LEVEL} < 500600
# inherited from mail/p5-MIME-Tools
IGNORE= requires Perl 5.6. Install lang/perl5 or lang/perl5.8, and try again
.endif
.include <bsd.port.post.mk>

View file

@ -1,3 +1,3 @@
MD5 (Email-MIME-1.82.tar.gz) = fe917f83f7ff5f6425e388857a7400eb
SHA256 (Email-MIME-1.82.tar.gz) = cd234bc3b1ae05c40a92f0ffc42b9bd6b83e130e6c618b2b21876111d0f5be38
SIZE (Email-MIME-1.82.tar.gz) = 81234
MD5 (Email-MIME-1.85.tar.gz) = 161ca345509281b706ad7e7fbab3d530
SHA256 (Email-MIME-1.85.tar.gz) = db799407aa341f9f56c5066470708c59ad162cef71489b27ec6f4aa08c4fbd26
SIZE (Email-MIME-1.85.tar.gz) = 81830