summaryrefslogtreecommitdiff
path: root/mail/p5-Email-MIME/Makefile
diff options
context:
space:
mode:
authorLars Thegler <lth@FreeBSD.org>2006-07-14 09:10:09 +0000
committerLars Thegler <lth@FreeBSD.org>2006-07-14 09:10:09 +0000
commit2a30d3306bf02676899048fe9bca2e3a401ec587 (patch)
tree25df098b0e0f681cfe2a11a2a83e258aa72993f4 /mail/p5-Email-MIME/Makefile
parentUpdate to 0.4 (diff)
Update to 1.85. Now requires perl from ports.
PR: ports/100266 Submitted by: Jin-Shan Tseng <tjs@cdpa.nsysu.edu.tw>
Notes
Notes: svn path=/head/; revision=167773
Diffstat (limited to 'mail/p5-Email-MIME/Makefile')
-rw-r--r--mail/p5-Email-MIME/Makefile23
1 files changed, 10 insertions, 13 deletions
diff --git a/mail/p5-Email-MIME/Makefile b/mail/p5-Email-MIME/Makefile
index d3171a3d76f2..5eeb815f3a23 100644
--- a/mail/p5-Email-MIME/Makefile
+++ b/mail/p5-Email-MIME/Makefile
@@ -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>