aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Thegler <lth@FreeBSD.org>2006-08-06 14:56:20 +0000
committerLars Thegler <lth@FreeBSD.org>2006-08-06 14:56:20 +0000
commit9f0e252bbf27f0afcbf491b8c55ddf6b0b0f4f59 (patch)
treed13d13ba86a7b2eec9baaffe815a17545a694b47
parent0bcbdb44cd895eb93733228e49be3ce40f97eb44 (diff)
downloadports-9f0e252bbf27f0afcbf491b8c55ddf6b0b0f4f59.tar.gz
ports-9f0e252bbf27f0afcbf491b8c55ddf6b0b0f4f59.zip
Notes
-rw-r--r--mail/p5-Email-MIME-Attachment-Stripper/Makefile28
-rw-r--r--mail/p5-Email-MIME-Attachment-Stripper/distinfo6
2 files changed, 13 insertions, 21 deletions
diff --git a/mail/p5-Email-MIME-Attachment-Stripper/Makefile b/mail/p5-Email-MIME-Attachment-Stripper/Makefile
index 072f61c15d15..7d32772dea0f 100644
--- a/mail/p5-Email-MIME-Attachment-Stripper/Makefile
+++ b/mail/p5-Email-MIME-Attachment-Stripper/Makefile
@@ -6,35 +6,27 @@
#
PORTNAME= Email-MIME-Attachment-Stripper
-PORTVERSION= 1.31
-PORTREVISION= 1
+PORTVERSION= 1.31.1
CATEGORIES= mail perl5
-MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
-MASTER_SITE_SUBDIR= Email
+MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
+DISTNAME= ${PORTNAME}-1.311
MAINTAINER= lth@FreeBSD.org
COMMENT= Strip the attachments from a mail
-BUILD_DEPENDS= ${SITE_PERL}/Email/MIME.pm:${PORTSDIR}/mail/p5-Email-MIME \
- ${SITE_PERL}/Email/MIME/ContentType.pm:${PORTSDIR}/mail/p5-Email-MIME-ContentType \
- ${SITE_PERL}/Email/MIME/Modifier.pm:${PORTSDIR}/mail/p5-Email-MIME-Modifier
-RUN_DEPENDS= ${BUILD_DEPENDS}
+RUN_DEPENDS= p5-Email-MIME>=1.82:${PORTSDIR}/mail/p5-Email-MIME \
+ p5-Email-MIME-ContentType>=1.0:${PORTSDIR}/mail/p5-Email-MIME-ContentType \
+ p5-Email-MIME-Modifier>=1.41:${PORTSDIR}/mail/p5-Email-MIME-Modifier
+BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
MAN3= Email::MIME::Attachment::Stripper.3
.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} <= 500503
-post-patch:
- ${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1); $$1/;' \
- ${WRKSRC}/lib/Email/MIME/Attachment/Stripper.pm
- ${PERL} -pi -e '$$_ = "" if (/use warnings/);' \
- ${WRKSRC}/Makefile.PL \
- ${WRKSRC}/t/01.t \
- ${WRKSRC}/lib/Email/MIME/Attachment/Stripper.pm
+.if ${PERL_LEVEL} < 500600
+# inherited from mail/p5-Email-MIME
+IGNORE= requires Perl 5.6. Install lang/perl5 or lang/perl5.8, and try again
.endif
-
.include <bsd.port.post.mk>
diff --git a/mail/p5-Email-MIME-Attachment-Stripper/distinfo b/mail/p5-Email-MIME-Attachment-Stripper/distinfo
index 876f4118119f..dc23edc9a162 100644
--- a/mail/p5-Email-MIME-Attachment-Stripper/distinfo
+++ b/mail/p5-Email-MIME-Attachment-Stripper/distinfo
@@ -1,3 +1,3 @@
-MD5 (Email-MIME-Attachment-Stripper-1.31.tar.gz) = 6a9235599bd42c0f79239a89edb36d5f
-SHA256 (Email-MIME-Attachment-Stripper-1.31.tar.gz) = e9adb22b0b0288327da51e308331c21c634cc6dc9d5cae35cdf1d06db3566030
-SIZE (Email-MIME-Attachment-Stripper-1.31.tar.gz) = 14579
+MD5 (Email-MIME-Attachment-Stripper-1.311.tar.gz) = 3d30e9f9dc446cd1fd916e994931c255
+SHA256 (Email-MIME-Attachment-Stripper-1.311.tar.gz) = f7125d14e6ac8f490e324497b6cee5df4d18bfafa09f2c1c3c6a51111f4e83a5
+SIZE (Email-MIME-Attachment-Stripper-1.311.tar.gz) = 14924