summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2011-12-15 14:17:30 +0000
committertaca <taca@pkgsrc.org>2011-12-15 14:17:30 +0000
commit93359d2b734e5efc20924ee4f8e8d84dab8d51d3 (patch)
tree15ddb10fbd486b80bc2ae4423f13ec739f6d4a1c /mail
parenta6460c10f5908c64c8becd14057b4d0a48e5a2b9 (diff)
downloadpkgsrc-93359d2b734e5efc20924ee4f8e8d84dab8d51d3.tar.gz
Importing mail/ruby-mail version 2.2.19 as mail/ruby-mail22.
Diffstat (limited to 'mail')
-rw-r--r--mail/ruby-mail22/DESCR20
-rw-r--r--mail/ruby-mail22/Makefile19
-rw-r--r--mail/ruby-mail22/PLIST128
-rw-r--r--mail/ruby-mail22/distinfo5
4 files changed, 172 insertions, 0 deletions
diff --git a/mail/ruby-mail22/DESCR b/mail/ruby-mail22/DESCR
new file mode 100644
index 00000000000..106b93100ac
--- /dev/null
+++ b/mail/ruby-mail22/DESCR
@@ -0,0 +1,20 @@
+Mail is an internet library for Ruby that is designed to handle emails
+generation, parsing and sending in a simple, rubyesque manner.
+
+The purpose of this library is to provide a single point of access to handle
+all email functions, including sending and receiving emails. All network
+type actions are done through proxy methods to Net::SMTP, Net::POP3 etc.
+
+Built from my experience with TMail, it is designed to be a pure ruby
+implementation that makes generating, sending and parsing emails a no
+brainer.
+
+It is also designed form the ground up to work with Ruby 1.9. This is because
+Ruby 1.9 handles text encodings much more magically than Ruby 1.8.x and so
+these features have been taken full advantage of in this library allowing
+Mail to handle a lot more messages more cleanly than TMail. Mail does run on
+Ruby 1.8.x... it's just not as fun to code.
+
+Finally, Mail has been designed with a very simple object oriented system
+that really opens up the email messages you are parsing, if you know what
+you are doing, you can fiddle with every last bit of your email directly.
diff --git a/mail/ruby-mail22/Makefile b/mail/ruby-mail22/Makefile
new file mode 100644
index 00000000000..4a6a4b66d20
--- /dev/null
+++ b/mail/ruby-mail22/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/12/15 14:17:30 taca Exp $
+
+DISTNAME= mail-2.2.19
+CATEGORIES= mail
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://github.com/mikel/mail
+COMMENT= Mail provides a nice Ruby DSL for making, sending and reading emails
+LICENSE= mit
+
+DEPENDS+= ${RUBY_ACTIVESUPPORT_DEPENDS}
+DEPENDS+= ${RUBY_PKGPREFIX}-mime-types>=1.16:../../mail/ruby-mime-types
+DEPENDS+= ${RUBY_PKGPREFIX}-treetop>=1.4.8:../../textproc/ruby-treetop
+DEPENDS+= ${RUBY_PKGPREFIX}-i18n>=0.5.0:../../devel/ruby-i18n_05
+
+RUBY_RAILS_SUPPORTED= # defined
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/mail/ruby-mail22/PLIST b/mail/ruby-mail22/PLIST
new file mode 100644
index 00000000000..dad395b7438
--- /dev/null
+++ b/mail/ruby-mail22/PLIST
@@ -0,0 +1,128 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2011/12/15 14:17:30 taca Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/CHANGELOG.rdoc
+${GEM_LIBDIR}/README.rdoc
+${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/TODO.rdoc
+${GEM_LIBDIR}/lib/VERSION
+${GEM_LIBDIR}/lib/mail.rb
+${GEM_LIBDIR}/lib/mail/attachments_list.rb
+${GEM_LIBDIR}/lib/mail/body.rb
+${GEM_LIBDIR}/lib/mail/configuration.rb
+${GEM_LIBDIR}/lib/mail/core_extensions/nil.rb
+${GEM_LIBDIR}/lib/mail/core_extensions/shellwords.rb
+${GEM_LIBDIR}/lib/mail/core_extensions/smtp.rb
+${GEM_LIBDIR}/lib/mail/core_extensions/string.rb
+${GEM_LIBDIR}/lib/mail/elements.rb
+${GEM_LIBDIR}/lib/mail/elements/address.rb
+${GEM_LIBDIR}/lib/mail/elements/address_list.rb
+${GEM_LIBDIR}/lib/mail/elements/content_disposition_element.rb
+${GEM_LIBDIR}/lib/mail/elements/content_location_element.rb
+${GEM_LIBDIR}/lib/mail/elements/content_transfer_encoding_element.rb
+${GEM_LIBDIR}/lib/mail/elements/content_type_element.rb
+${GEM_LIBDIR}/lib/mail/elements/date_time_element.rb
+${GEM_LIBDIR}/lib/mail/elements/envelope_from_element.rb
+${GEM_LIBDIR}/lib/mail/elements/message_ids_element.rb
+${GEM_LIBDIR}/lib/mail/elements/mime_version_element.rb
+${GEM_LIBDIR}/lib/mail/elements/phrase_list.rb
+${GEM_LIBDIR}/lib/mail/elements/received_element.rb
+${GEM_LIBDIR}/lib/mail/encodings.rb
+${GEM_LIBDIR}/lib/mail/encodings/7bit.rb
+${GEM_LIBDIR}/lib/mail/encodings/8bit.rb
+${GEM_LIBDIR}/lib/mail/encodings/base64.rb
+${GEM_LIBDIR}/lib/mail/encodings/binary.rb
+${GEM_LIBDIR}/lib/mail/encodings/quoted_printable.rb
+${GEM_LIBDIR}/lib/mail/encodings/transfer_encoding.rb
+${GEM_LIBDIR}/lib/mail/envelope.rb
+${GEM_LIBDIR}/lib/mail/field.rb
+${GEM_LIBDIR}/lib/mail/field_list.rb
+${GEM_LIBDIR}/lib/mail/fields.rb
+${GEM_LIBDIR}/lib/mail/fields/bcc_field.rb
+${GEM_LIBDIR}/lib/mail/fields/cc_field.rb
+${GEM_LIBDIR}/lib/mail/fields/comments_field.rb
+${GEM_LIBDIR}/lib/mail/fields/common/address_container.rb
+${GEM_LIBDIR}/lib/mail/fields/common/common_address.rb
+${GEM_LIBDIR}/lib/mail/fields/common/common_date.rb
+${GEM_LIBDIR}/lib/mail/fields/common/common_field.rb
+${GEM_LIBDIR}/lib/mail/fields/common/common_message_id.rb
+${GEM_LIBDIR}/lib/mail/fields/common/parameter_hash.rb
+${GEM_LIBDIR}/lib/mail/fields/content_description_field.rb
+${GEM_LIBDIR}/lib/mail/fields/content_disposition_field.rb
+${GEM_LIBDIR}/lib/mail/fields/content_id_field.rb
+${GEM_LIBDIR}/lib/mail/fields/content_location_field.rb
+${GEM_LIBDIR}/lib/mail/fields/content_transfer_encoding_field.rb
+${GEM_LIBDIR}/lib/mail/fields/content_type_field.rb
+${GEM_LIBDIR}/lib/mail/fields/date_field.rb
+${GEM_LIBDIR}/lib/mail/fields/from_field.rb
+${GEM_LIBDIR}/lib/mail/fields/in_reply_to_field.rb
+${GEM_LIBDIR}/lib/mail/fields/keywords_field.rb
+${GEM_LIBDIR}/lib/mail/fields/message_id_field.rb
+${GEM_LIBDIR}/lib/mail/fields/mime_version_field.rb
+${GEM_LIBDIR}/lib/mail/fields/optional_field.rb
+${GEM_LIBDIR}/lib/mail/fields/received_field.rb
+${GEM_LIBDIR}/lib/mail/fields/references_field.rb
+${GEM_LIBDIR}/lib/mail/fields/reply_to_field.rb
+${GEM_LIBDIR}/lib/mail/fields/resent_bcc_field.rb
+${GEM_LIBDIR}/lib/mail/fields/resent_cc_field.rb
+${GEM_LIBDIR}/lib/mail/fields/resent_date_field.rb
+${GEM_LIBDIR}/lib/mail/fields/resent_from_field.rb
+${GEM_LIBDIR}/lib/mail/fields/resent_message_id_field.rb
+${GEM_LIBDIR}/lib/mail/fields/resent_sender_field.rb
+${GEM_LIBDIR}/lib/mail/fields/resent_to_field.rb
+${GEM_LIBDIR}/lib/mail/fields/return_path_field.rb
+${GEM_LIBDIR}/lib/mail/fields/sender_field.rb
+${GEM_LIBDIR}/lib/mail/fields/structured_field.rb
+${GEM_LIBDIR}/lib/mail/fields/subject_field.rb
+${GEM_LIBDIR}/lib/mail/fields/to_field.rb
+${GEM_LIBDIR}/lib/mail/fields/unstructured_field.rb
+${GEM_LIBDIR}/lib/mail/header.rb
+${GEM_LIBDIR}/lib/mail/mail.rb
+${GEM_LIBDIR}/lib/mail/message.rb
+${GEM_LIBDIR}/lib/mail/network.rb
+${GEM_LIBDIR}/lib/mail/network/delivery_methods/file_delivery.rb
+${GEM_LIBDIR}/lib/mail/network/delivery_methods/sendmail.rb
+${GEM_LIBDIR}/lib/mail/network/delivery_methods/smtp.rb
+${GEM_LIBDIR}/lib/mail/network/delivery_methods/smtp_connection.rb
+${GEM_LIBDIR}/lib/mail/network/delivery_methods/test_mailer.rb
+${GEM_LIBDIR}/lib/mail/network/retriever_methods/base.rb
+${GEM_LIBDIR}/lib/mail/network/retriever_methods/imap.rb
+${GEM_LIBDIR}/lib/mail/network/retriever_methods/pop3.rb
+${GEM_LIBDIR}/lib/mail/network/retriever_methods/test_retriever.rb
+${GEM_LIBDIR}/lib/mail/parsers/address_lists.rb
+${GEM_LIBDIR}/lib/mail/parsers/address_lists.treetop
+${GEM_LIBDIR}/lib/mail/parsers/content_disposition.rb
+${GEM_LIBDIR}/lib/mail/parsers/content_disposition.treetop
+${GEM_LIBDIR}/lib/mail/parsers/content_location.rb
+${GEM_LIBDIR}/lib/mail/parsers/content_location.treetop
+${GEM_LIBDIR}/lib/mail/parsers/content_transfer_encoding.rb
+${GEM_LIBDIR}/lib/mail/parsers/content_transfer_encoding.treetop
+${GEM_LIBDIR}/lib/mail/parsers/content_type.rb
+${GEM_LIBDIR}/lib/mail/parsers/content_type.treetop
+${GEM_LIBDIR}/lib/mail/parsers/date_time.rb
+${GEM_LIBDIR}/lib/mail/parsers/date_time.treetop
+${GEM_LIBDIR}/lib/mail/parsers/envelope_from.rb
+${GEM_LIBDIR}/lib/mail/parsers/envelope_from.treetop
+${GEM_LIBDIR}/lib/mail/parsers/message_ids.rb
+${GEM_LIBDIR}/lib/mail/parsers/message_ids.treetop
+${GEM_LIBDIR}/lib/mail/parsers/mime_version.rb
+${GEM_LIBDIR}/lib/mail/parsers/mime_version.treetop
+${GEM_LIBDIR}/lib/mail/parsers/phrase_lists.rb
+${GEM_LIBDIR}/lib/mail/parsers/phrase_lists.treetop
+${GEM_LIBDIR}/lib/mail/parsers/received.rb
+${GEM_LIBDIR}/lib/mail/parsers/received.treetop
+${GEM_LIBDIR}/lib/mail/parsers/rfc2045.rb
+${GEM_LIBDIR}/lib/mail/parsers/rfc2045.treetop
+${GEM_LIBDIR}/lib/mail/parsers/rfc2822.rb
+${GEM_LIBDIR}/lib/mail/parsers/rfc2822.treetop
+${GEM_LIBDIR}/lib/mail/parsers/rfc2822_obsolete.rb
+${GEM_LIBDIR}/lib/mail/parsers/rfc2822_obsolete.treetop
+${GEM_LIBDIR}/lib/mail/part.rb
+${GEM_LIBDIR}/lib/mail/parts_list.rb
+${GEM_LIBDIR}/lib/mail/patterns.rb
+${GEM_LIBDIR}/lib/mail/utilities.rb
+${GEM_LIBDIR}/lib/mail/version.rb
+${GEM_LIBDIR}/lib/mail/version_specific/ruby_1_8.rb
+${GEM_LIBDIR}/lib/mail/version_specific/ruby_1_9.rb
+${GEM_LIBDIR}/lib/tasks/corpus.rake
+${GEM_LIBDIR}/lib/tasks/treetop.rake
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff --git a/mail/ruby-mail22/distinfo b/mail/ruby-mail22/distinfo
new file mode 100644
index 00000000000..ce41b9ec4ee
--- /dev/null
+++ b/mail/ruby-mail22/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2011/12/15 14:17:30 taca Exp $
+
+SHA1 (mail-2.2.19.gem) = d117d132cf6f28f914ee32eb1343d6ffcdca49ea
+RMD160 (mail-2.2.19.gem) = 374f7b373090ab1d25fa0fb7434fd692fae11a13
+Size (mail-2.2.19.gem) = 104960 bytes