pkgsrc/mail/ruby-actionmailer/Makefile

31 lines
928 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.4 2005/11/02 15:07:46 taca Exp $
DISTNAME= actionmailer-1.1.1
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
CATEGORIES= mail ruby
MASTER_SITES= http://rubyforge.org/frs/download.php/6575/
EXTRACT_SUFX= .tgz
MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://am.rubyonrails.org/
COMMENT= Ruby framework for designing email-service layers
Update ruby-actionmailer to 1.0.1. *1.0.1* (11 July, 2005) * Bind to Action Pack 1.9.1 *1.0.0* (6 July, 2005) * Avoid adding nil header values #1392 * Better multipart support with implicit multipart/alternative and sorting of subparts [John Long] * Allow for nested parts in multipart mails #1570 [Flurin Egger] * Normalize line endings in outgoing mail bodies to "\n" #1536 [John Long] * Allow template to be explicitly specified #1448 [tuxie@dekadance.se] * Allow specific "multipart/xxx" content-type to be set on multipart messages #1412 [Flurin Egger] * Unquoted @ characters in headers are now accepted in spite of RFC 822 #1206 * Helper support (borrowed from ActionPack) * Silently ignore Errno::EINVAL errors when converting text. * Don't cause an error when parsing an encoded attachment name #1340 [lon@speedymac.com] * Nested multipart message parts are correctly processed in TMail::Mail#body * BCC headers are removed when sending via SMTP #1402 * Added 'content_type' accessor, to allow content type to be set on a per-message basis. content_type defaults to "text/plain". * Silently ignore Iconv::IllegalSequence errors when converting text #1341 [lon@speedymac.com] * Support attachments and multipart messages. * Added new accessors for the various mail properties. * Fix to only perform the charset conversion if a 'from' and a 'to' charset are given (make no assumptions about what the charset was) #1276 [Jamis Buck] * Fix attachments and content-type problems #1276 [Jamis Buck] * Fixed the TMail#body method to look at the content-transfer-encoding header and unquote the body according to the rules it specifies #1265 [Jamis Buck] * Added unquoting even if the iconv lib can't be loaded--in that case, only the charset conversion is skipped #1265 [Jamis Buck] * Added automatic decoding of base64 bodies #1214 [Jamis Buck] * Added that delivery errors are caught in a way so the mail is still returned whether the delivery was successful or not * Fixed that email address like "Jamis Buck, M.D." <wild.medicine@example.net> would cause the quoter to generate emails resulting in "bad address" errors from the mail server #1220 [Jamis Buck] *0.9.1* (20th April, 2005) * Depend on Action Pack 1.8.1 *0.9.0* (19th April, 2005) * Added that deliver_* will now return the email that was sent * Added that quoting to UTF-8 only happens if the characters used are in that range #955 [Jamis Buck] * Fixed quoting for all address headers, not just to #955 [Jamis Buck] * Fixed unquoting of emails that doesn't have an explicit charset #1036 [wolfgang@stufenlos.net]
2005-09-04 16:12:31 +02:00
DEPENDS+= ${RUBY_PKGPREFIX}-actionpack>=1.9.1:../../www/ruby-actionpack
DEPENDS+= ${RUBY_PKGPREFIX}-tmail>=0.10.7:../../mail/ruby-tmail
NO_BUILD= yes
NO_CONFIGURE= yes
USE_RUBY_INSTALL= yes
pre-install:
${RM} -rf ${WRKSRC}/lib/action_mailer/vendor/tmail
${RM} -f ${WRKSRC}/lib/action_mailer/vendor/tmail.rb
post-install:
${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/actionmailer
${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${RUBY_DOCDIR}/actionmailer
${INSTALL_DATA} ${WRKSRC}/README ${RUBY_DOCDIR}/actionmailer
.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"