aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-10-24 05:56:46 +0800
committerknu <knu@FreeBSD.org>2002-10-24 05:56:46 +0800
commit189e442c6a263f288a365250225c052d6d4715fb (patch)
treee748678d4533eaac637eb088caafec5c3f63ab49 /mail
parentfcb4e16fb9e8ba9253484923a2c7d82d23612c2f (diff)
downloadfreebsd-ports-gnome-189e442c6a263f288a365250225c052d6d4715fb.tar.gz
freebsd-ports-gnome-189e442c6a263f288a365250225c052d6d4715fb.tar.zst
freebsd-ports-gnome-189e442c6a263f288a365250225c052d6d4715fb.zip
Add ruby-mime-types, MIME::Types for Ruby.
Diffstat (limited to 'mail')
-rw-r--r--mail/Makefile1
-rw-r--r--mail/ruby-mime-types/Makefile35
-rw-r--r--mail/ruby-mime-types/distinfo1
-rw-r--r--mail/ruby-mime-types/pkg-comment1
-rw-r--r--mail/ruby-mime-types/pkg-descr12
-rw-r--r--mail/ruby-mime-types/pkg-plist32
6 files changed, 82 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile
index 44d5e1e29888..4517854e935f 100644
--- a/mail/Makefile
+++ b/mail/Makefile
@@ -222,6 +222,7 @@
SUBDIR += rlytest
SUBDIR += rmime
SUBDIR += rmoldmail
+ SUBDIR += ruby-mime-types
SUBDIR += ruby-rmail
SUBDIR += ruby-tmail
SUBDIR += sendmail
diff --git a/mail/ruby-mime-types/Makefile b/mail/ruby-mime-types/Makefile
new file mode 100644
index 000000000000..fb71f7e780de
--- /dev/null
+++ b/mail/ruby-mime-types/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: MIME::Types for Ruby
+# Date created: 24 October 2002
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mime-types
+PORTVERSION= 1.003.1
+CATEGORIES= mail ruby
+MASTER_SITES= http://www.halostatue.ca/files/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= MIME-types-${PORTVERSION}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+USE_RUBY= yes
+
+NO_BUILD= yes
+
+post-extract:
+ cd ${WRKSRC}; ${MV} MIME/types.rb MIME/Types.rb
+
+post-patch:
+ ${RUBY} -i -pe 'gsub %r"MIME/types\.rb", "MIME/Types.rb"' ${WRKSRC}/install.rb
+
+do-install:
+ cd ${WRKSRC}; ${RUBY} install.rb
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_MODDOCDIR}
+ ${CP} -R ${WRKSRC}/doc/* ${RUBY_MODDOCDIR}/
+.endif
+
+.include <bsd.port.mk>
diff --git a/mail/ruby-mime-types/distinfo b/mail/ruby-mime-types/distinfo
new file mode 100644
index 000000000000..bc2705364a03
--- /dev/null
+++ b/mail/ruby-mime-types/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/MIME-types-1.003.1.tar.gz) = 49e78740322d3d33cd90e9f91017d595
diff --git a/mail/ruby-mime-types/pkg-comment b/mail/ruby-mime-types/pkg-comment
new file mode 100644
index 000000000000..cb873c8831a6
--- /dev/null
+++ b/mail/ruby-mime-types/pkg-comment
@@ -0,0 +1 @@
+MIME::Types for Ruby
diff --git a/mail/ruby-mime-types/pkg-descr b/mail/ruby-mime-types/pkg-descr
new file mode 100644
index 000000000000..52885f08dc42
--- /dev/null
+++ b/mail/ruby-mime-types/pkg-descr
@@ -0,0 +1,12 @@
+MIME::Types provides the ability for detailed information about MIME
+entities to be determined and used programmatically.
+
+This is based on Perl MIME::Types and reflects this heritage in the
+existence of both MIME::Types and MIME::Type (which is the definition
+of a single MIME type). As with the Perl version, this module is
+built to conform with MIME types in RFC 2045 and 2231. This library
+follows the collection of MIME types at the USC Information Sciences
+Institute.
+
+Author: Austin Ziegler <austin@halostatue.ca>
+WWW: http://www.halostatue.ca/ruby/MIME__Types.html
diff --git a/mail/ruby-mime-types/pkg-plist b/mail/ruby-mime-types/pkg-plist
new file mode 100644
index 000000000000..f1f866e2b4d0
--- /dev/null
+++ b/mail/ruby-mime-types/pkg-plist
@@ -0,0 +1,32 @@
+%%RUBY_SITELIBDIR%%/MIME/Types.rb
+@dirrm %%RUBY_SITELIBDIR%%/MIME
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/MIME/InvalidContentType.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/MIME/Type.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/MIME/Type.src/M000005.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/MIME/Type.src/M000006.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/MIME/Type.src/M000007.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/MIME/Type.src/M000008.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/MIME/Type.src/M000009.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/MIME/Type.src/M000010.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/MIME/Type.src/M000011.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/MIME/Type.src/M000012.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/MIME/Type.src/M000013.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/MIME/Types.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/MIME/Types.src/M000001.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/MIME/Types.src/M000002.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/MIME/Types.src/M000003.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/MIME/Types.src/M000004.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/created.rid
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/MIME/types_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/fr_class_index.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/fr_file_index.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/fr_method_index.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/index.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/rdoc-style.css
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/files/MIME
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/files
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/classes/MIME/Types.src
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/classes/MIME/Type.src
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/classes/MIME
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/classes
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%