freebsd-ports/mail/rubygem-smtp_tls/Makefile
Philip M. Gollucci 11b49b9d89 Provides SMTP STARTTLS support for Ruby 1.8.6, this
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>
2010-09-08 20:42:19 +00:00

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>