aboutsummaryrefslogtreecommitdiff
path: root/mail/delatt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/delatt/Makefile')
-rw-r--r--mail/delatt/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/mail/delatt/Makefile b/mail/delatt/Makefile
index 03885fc0a2c2..2c4815b0941d 100644
--- a/mail/delatt/Makefile
+++ b/mail/delatt/Makefile
@@ -17,17 +17,11 @@ COMMENT= Strip attachments from email
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
-USE_PERL5_RUN= yes
+USE_PERL5_RUN= 5.8.6+
NO_BUILD= yes
PLIST_FILES= bin/delatt
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} < 500806
-IGNORE= needs Perl 5.8.6 or above (lang/perl5.8)
-.endif
-
post-patch:
${REINPLACE_CMD} -e 's|^#!/usr/bin/perl|#!${PERL}|' \
${WRKSRC}/${PORTNAME}
@@ -35,4 +29,4 @@ post-patch:
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>