aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2008-10-25 16:43:20 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2008-10-25 16:43:20 +0000
commitca512f9c0eeb47441229b2ece96af2906549bc33 (patch)
treebb805be544d048cad8f9d91630db821d4122e75b /mail
parent9b3ca8f0b61594527598e4b7867deb1cff71b27f (diff)
downloadports-ca512f9c0eeb47441229b2ece96af2906549bc33.tar.gz
ports-ca512f9c0eeb47441229b2ece96af2906549bc33.zip
Notes
Diffstat (limited to 'mail')
-rw-r--r--mail/p5-Net-SMTP-TLS/Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/mail/p5-Net-SMTP-TLS/Makefile b/mail/p5-Net-SMTP-TLS/Makefile
index fbb977822b1d..7807df8a5ec1 100644
--- a/mail/p5-Net-SMTP-TLS/Makefile
+++ b/mail/p5-Net-SMTP-TLS/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Net-SMTP-TLS
PORTVERSION= 0.12
+PORTREVISION= 1
CATEGORIES= mail perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -14,13 +15,18 @@ PKGNAMEPREFIX= p5-
MAINTAINER= gslin@gslin.org
COMMENT= An SMTP client supporting TLS and AUTH
-BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 \
- ${SITE_PERL}/${PERL_ARCH}/Net/SSLeay.pm:${PORTSDIR}/security/p5-Net-SSLeay \
- ${SITE_PERL}/Digest/HMAC_MD5.pm:${PORTSDIR}/security/p5-Digest-HMAC \
- ${SITE_PERL}/IO/Socket/SSL.pm:${PORTSDIR}/security/p5-IO-Socket-SSL
+RUN_DEPENDS= p5-Digest-HMAC>=0:${PORTSDIR}/security/p5-Digest-HMAC \
+ p5-IO-Socket-SSL>=0:${PORTSDIR}/security/p5-IO-Socket-SSL \
+ p5-Net-SSLeay>=0:${PORTSDIR}/security/p5-Net-SSLeay
PERL_CONFIGURE= yes
MAN3= Net::SMTP::TLS.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500703
+RUN_DEPENDS+= p5-MIME-Base64>=0:${PORTSDIR}/converters/p5-MIME-Base64
+.endif
+
+.include <bsd.port.post.mk>