Add ruby-mime-types, MIME::Types for Ruby.
This commit is contained in:
parent
98d5b07d60
commit
45cb38ddb3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=68690
@ -222,6 +222,7 @@
|
||||
SUBDIR += rlytest
|
||||
SUBDIR += rmime
|
||||
SUBDIR += rmoldmail
|
||||
SUBDIR += ruby-mime-types
|
||||
SUBDIR += ruby-rmail
|
||||
SUBDIR += ruby-tmail
|
||||
SUBDIR += sendmail
|
||||
|
35
mail/ruby-mime-types/Makefile
Normal file
35
mail/ruby-mime-types/Makefile
Normal file
@ -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>
|
1
mail/ruby-mime-types/distinfo
Normal file
1
mail/ruby-mime-types/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (ruby/MIME-types-1.003.1.tar.gz) = 49e78740322d3d33cd90e9f91017d595
|
1
mail/ruby-mime-types/pkg-comment
Normal file
1
mail/ruby-mime-types/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
MIME::Types for Ruby
|
12
mail/ruby-mime-types/pkg-descr
Normal file
12
mail/ruby-mime-types/pkg-descr
Normal file
@ -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
|
32
mail/ruby-mime-types/pkg-plist
Normal file
32
mail/ruby-mime-types/pkg-plist
Normal file
@ -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%%
|
Loading…
Reference in New Issue
Block a user