From 264d26289a1546cd2ca580844d65aed217198602 Mon Sep 17 00:00:00 2001 From: Joseph Mingrone Date: Sat, 5 Aug 2017 02:48:54 +0000 Subject: [PATCH] New port, mail/rubygem-mini_mime: Minimal mime type library WWW: https://github.com/discourse/mini_mime --- mail/Makefile | 1 + mail/rubygem-mini_mime/Makefile | 18 ++++++++++++++++++ mail/rubygem-mini_mime/distinfo | 3 +++ mail/rubygem-mini_mime/pkg-descr | 5 +++++ 4 files changed, 27 insertions(+) create mode 100644 mail/rubygem-mini_mime/Makefile create mode 100644 mail/rubygem-mini_mime/distinfo create mode 100644 mail/rubygem-mini_mime/pkg-descr diff --git a/mail/Makefile b/mail/Makefile index 0d90a576cfa1..0f8bd8bf676f 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -618,6 +618,7 @@ SUBDIR += rubygem-mail_room SUBDIR += rubygem-mailboxer SUBDIR += rubygem-mailfactory + SUBDIR += rubygem-mini_mime SUBDIR += rubygem-pony SUBDIR += rubygem-premailer SUBDIR += rubygem-premailer-rails diff --git a/mail/rubygem-mini_mime/Makefile b/mail/rubygem-mini_mime/Makefile new file mode 100644 index 000000000000..17478a751b9c --- /dev/null +++ b/mail/rubygem-mini_mime/Makefile @@ -0,0 +1,18 @@ +# $FreeBSD$ + +PORTNAME= mini_mime +PORTVERSION= 0.1.3 +CATEGORIES= mail rubygems +MASTER_SITES= RG + +MAINTAINER= ruby@FreeBSD.org +COMMENT= Lightweight mime type lookup toy + +LICENSE= MIT + +NO_ARCH= yes + +USES= gem +USE_RUBY= yes + +.include diff --git a/mail/rubygem-mini_mime/distinfo b/mail/rubygem-mini_mime/distinfo new file mode 100644 index 000000000000..a1c7a5113b4c --- /dev/null +++ b/mail/rubygem-mini_mime/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1501901117 +SHA256 (rubygem/mini_mime-0.1.3.gem) = d2510acf3af92ac904036b19e711c986bdcb2c14704d9ff35f426dfb599602ea +SIZE (rubygem/mini_mime-0.1.3.gem) = 32768 diff --git a/mail/rubygem-mini_mime/pkg-descr b/mail/rubygem-mini_mime/pkg-descr new file mode 100644 index 000000000000..025b283edd2d --- /dev/null +++ b/mail/rubygem-mini_mime/pkg-descr @@ -0,0 +1,5 @@ +MiniMime is a minimal mime type implementation for use with the mail and +rest-client gems. It is optimised to minimize memory usage and keeps a +cache of 100 mime type lookups (and 100 misses). + +WWW: https://github.com/discourse/mini_mime