11b49b9d89
functionality is built-in for Ruby 1.8.7+. To use simply: require 'smtp_tls' and use the Net::SMTP#enable_starttls method to talk to servers that use STARTTLS. WWW: http://seattlerb.rubyforge.org/smtp_tls/ PR: ports/150115 Submitted by: Eric Freeman <freebsdports at chillibear.com>
31 lines
700 B
Makefile
31 lines
700 B
Makefile
# Ports collection makefile for: rubygem-smtp_tls
|
|
# Date created: 25 July 2010
|
|
# Whom: Eric Freeman <freebsdports@chillibear.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
# NOTE that this gem is only required if you run Ruby 1.8.6
|
|
# SMTP TLS is built into Ruby 1.8.7+
|
|
#
|
|
|
|
PORTNAME= smtp_tls
|
|
PORTVERSION= 1.0.3
|
|
CATEGORIES= mail rubygems
|
|
MASTER_SITES= RG
|
|
|
|
MAINTAINER= freebsdports@chillibear.com
|
|
COMMENT= Provides SMTP STARTTLS support for Ruby 1.8.6
|
|
|
|
RUN_DEPENDS= rubygem-hoe>=2.3.2:${PORTSDIR}/devel/rubygem-hoe
|
|
|
|
USE_RUBY= yes
|
|
USE_RUBYGEMS= yes
|
|
RUBYGEM_AUTOPLIST= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${RUBY_VERSION_CODE} >= 187000
|
|
IGNORE= ruby >= 1.8.7 natively supports SMTP TLS
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|