diff options
author | Michael Scheidell <scheidell@FreeBSD.org> | 2012-06-16 23:00:12 +0000 |
---|---|---|
committer | Michael Scheidell <scheidell@FreeBSD.org> | 2012-06-16 23:00:12 +0000 |
commit | 7bea89c744e85b783071329d520128c660972d30 (patch) | |
tree | 6b1e561af03237c65220afdc987411307c51d465 /mail/smtp-cli | |
parent | 93ff9e77e85db523dca7f8a75c89fba2c06463a5 (diff) | |
download | ports-7bea89c744e85b783071329d520128c660972d30.tar.gz ports-7bea89c744e85b783071329d520128c660972d30.zip |
Notes
Diffstat (limited to 'mail/smtp-cli')
-rw-r--r-- | mail/smtp-cli/Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/mail/smtp-cli/Makefile b/mail/smtp-cli/Makefile index 1e8cb5d9f70e..e97eddf1093c 100644 --- a/mail/smtp-cli/Makefile +++ b/mail/smtp-cli/Makefile @@ -7,6 +7,7 @@ PORTNAME= smtp PORTVERSION= 3.0 +PORTREVISION= 1 CATEGORIES= mail perl5 MASTER_SITES= http://www.logix.cz/michal/devel/smtp-cli/ PKGNAMESUFFIX= -cli @@ -18,22 +19,28 @@ COMMENT= A powerful SMTP command line client RUN_DEPENDS= p5-Digest-HMAC>0:${PORTSDIR}/security/p5-Digest-HMAC \ p5-File-Type>0:${PORTSDIR}/devel/p5-File-Type \ - p5-IO-Socket-INET6>0:${PORTSDIR}/net/p5-IO-Socket-INET6 \ p5-IO-Socket-SSL>0:${PORTSDIR}/security/p5-IO-Socket-SSL \ p5-MIME-Lite>0:${PORTSDIR}/mail/p5-MIME-Lite \ p5-Term-ReadKey>0:${PORTSDIR}/devel/p5-Term-ReadKey +.if !defined(WITHOUT_IPV6) +RUN_DEPENDS+= p5-IO-Socket-INET6>0:${PORTSDIR}/net/p5-IO-Socket-INET6 +# won't be needed if p5-IO-Socket-SSL > 1.74_1 +.endif + NO_BUILD= yes WRKSRC= ${WRKDIR} PLIST_FILES= bin/smtp-cli do-extract: - ${MKDIR} ${WRKSRC}/ - ${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}/${DISTNAME} + @${MKDIR} ${WRKSRC}/ + @${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}/${DISTNAME} post-patch: @${REINPLACE_CMD} -e '1 s|#!/usr/bin/perl|#!${PERL}|' ${WRKSRC}/${DISTNAME} +# pr ports/168381, io-socket-ssl > 1.70 rejects 'SSLv3 TLSv1' param. + @${REINPLACE_CMD} -e '/SSL_version/s|SSLv3 TLSv1|SSLv23:!SSLv2|' ${WRKSRC}/${DISTNAME} do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/ |