aboutsummaryrefslogtreecommitdiff
path: root/mail/p5-MIME-Lite
diff options
context:
space:
mode:
authorLars Balker Rasmussen <lbr@FreeBSD.org>2007-09-24 12:50:57 +0000
committerLars Balker Rasmussen <lbr@FreeBSD.org>2007-09-24 12:50:57 +0000
commitb69a482d248a51115fee8b05899dbf41d15414f9 (patch)
treeb0c5f908efc9aa6de8eeecbfea28f78429aaa890 /mail/p5-MIME-Lite
parent49d26a658dad69600b0043951a34d48cdb9d7e43 (diff)
downloadports-b69a482d248a51115fee8b05899dbf41d15414f9.tar.gz
ports-b69a482d248a51115fee8b05899dbf41d15414f9.zip
Made port non-interactive, added all depends from the interaction
Reviewed by: tobez
Notes
Notes: svn path=/head/; revision=200047
Diffstat (limited to 'mail/p5-MIME-Lite')
-rw-r--r--mail/p5-MIME-Lite/Makefile17
1 files changed, 16 insertions, 1 deletions
diff --git a/mail/p5-MIME-Lite/Makefile b/mail/p5-MIME-Lite/Makefile
index 2073e816ce59..90ee8c125762 100644
--- a/mail/p5-MIME-Lite/Makefile
+++ b/mail/p5-MIME-Lite/Makefile
@@ -8,6 +8,7 @@
PORTNAME= MIME-Lite
PORTVERSION= 3.02.0
DISTVERSION= ${PORTVERSION:C/\.(.)$/\1/}
+PORTREVISION= 1
CATEGORIES= mail perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -15,8 +16,22 @@ PKGNAMEPREFIX= p5-
MAINTAINER= ports@FreeBSD.org
COMMENT= A simple interface for creating (not parsing!) MIME messages
+RUN_DEPENDS= p5-Mail-Tools>=1.62:${PORTSDIR}/mail/p5-Mail-Tools \
+ p5-MIME-Types>=1.13:${PORTSDIR}/mail/p5-MIME-Types \
+ p5-Email-Date>=0:${PORTSDIR}/mail/p5-Email-Date
+BUILD_DEPENDS= ${RUN_DEPENDS}
+
PERL_CONFIGURE= YES
MAN3= MIME::Lite.3 MIME::changes.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+RUN_DEPENDS+= p5-MIME-Base64>=0:${PORTSDIR}/converters/p5-MIME-Base64
+.endif
+
+post-extract:
+ @${PERL} -i -ne 'print unless m,^#-, .. m,;$$, or m,^if, .. m,^},' ${WRKSRC}/Makefile.PL
+
+.include <bsd.port.post.mk>