Send email in one command: Pony.mail(:to => 'someone@example.com', :body => 'hello') Pony uses /usr/sbin/sendmail to send mail if it is available, otherwise it uses SMTP to localhost. Also, you may need rubygem-smtp_tls if you want to send via tls/ssl and are using ruby < 1.8.7 WWW: http://github.com/benprew/pony PR: ports/150116 Submitted by: Eric Freeman <freebsdports at chillibear.com>
23 lines
457 B
Makefile
23 lines
457 B
Makefile
# Ports collection makefile for: rubygem-pony
|
|
# Date created: 30 Aug 2010
|
|
# Whom: Eric Freeman <freebsdports@chillibear.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= pony
|
|
PORTVERSION= 1.0
|
|
CATEGORIES= mail rubygems
|
|
MASTER_SITES= RG
|
|
|
|
MAINTAINER= freebsdports@chillibear.com
|
|
COMMENT= The express way to send mail from Ruby
|
|
|
|
RUN_DEPENDS= rubygem-mail>=2.0:${PORTSDIR}/mail/rubygem-mail
|
|
|
|
USE_RUBY= yes
|
|
USE_RUBYGEMS= yes
|
|
RUBYGEM_AUTOPLIST= yes
|
|
|
|
.include <bsd.port.mk>
|