aboutsummaryrefslogtreecommitdiff
path: root/mail/p5-Mail-RBL/Makefile
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2005-12-21 20:35:22 +0000
committerErwin Lansing <erwin@FreeBSD.org>2005-12-21 20:35:22 +0000
commit6a514685ea14b2ca605243e6cb034ff3fc78b20f (patch)
tree9e944ea996f38bcb926d3300e045826509559e0b /mail/p5-Mail-RBL/Makefile
parent7926116710ddf7814c077d9fd23db1e8dc0ea4dd (diff)
downloadports-6a514685ea14b2ca605243e6cb034ff3fc78b20f.tar.gz
ports-6a514685ea14b2ca605243e6cb034ff3fc78b20f.zip
Notes
Diffstat (limited to 'mail/p5-Mail-RBL/Makefile')
-rw-r--r--mail/p5-Mail-RBL/Makefile17
1 files changed, 7 insertions, 10 deletions
diff --git a/mail/p5-Mail-RBL/Makefile b/mail/p5-Mail-RBL/Makefile
index 092fffb1ab75..e185e824e443 100644
--- a/mail/p5-Mail-RBL/Makefile
+++ b/mail/p5-Mail-RBL/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Mail-RBL
-PORTVERSION= 1.02
+PORTVERSION= 1.04
CATEGORIES= mail perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Mail
@@ -26,13 +26,10 @@ MAN3= Mail::RBL.3
FILES= Makefile.PL RBL.pm
-pre-patch:
-.for i in ${FILES}
- @${PERL} -pi -e 's/\r//' ${WRKSRC}/${i}
-.endfor
- @${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1);$$1/;' \
- -e '$$_="" if /require 5/;' \
- -e '$$_="" if /use warnings/;' \
- ${WRKSRC}/RBL.pm
+.include <bsd.port.pre.mk>
-.include <bsd.port.mk>
+.if ${PERL_LEVEL} < 500600
+IGNORE= requires perl 5.6.x or higher. Please install lang/perl5.8 and try again.
+.endif
+
+.include <bsd.port.post.mk>