diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2015-05-02 16:55:06 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2015-05-02 16:55:06 +0000 |
commit | f4dfee865cf3134e54b6ac69d76acf0dc7a61d16 (patch) | |
tree | 5cfbecc58beb0dd8d7cce133044a4dbc3e889dcb | |
parent | 3c8948022bcdc15913ea0bec6aab83d58fee9b36 (diff) | |
download | ports-f4dfee865cf3134e54b6ac69d76acf0dc7a61d16.tar.gz ports-f4dfee865cf3134e54b6ac69d76acf0dc7a61d16.zip |
- Add rubygem-mimemagic 0.3.0
MimeMagic is a library to detect the mime type of a file by extension or by
content. It uses the mime database provided by freedesktop.org.
WWW: https://github.com/minad/mimemagic
PR: 199689
Submitted by: Michael Fausten <ports@michael-fausten.de>
Notes
Notes:
svn path=/head/; revision=385188
-rw-r--r-- | misc/Makefile | 1 | ||||
-rw-r--r-- | misc/rubygem-mimemagic/Makefile | 18 | ||||
-rw-r--r-- | misc/rubygem-mimemagic/distinfo | 2 | ||||
-rw-r--r-- | misc/rubygem-mimemagic/pkg-descr | 4 |
4 files changed, 25 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile index 981484d15c64..00d30dc0f4f1 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -394,6 +394,7 @@ SUBDIR += rubygem-iesd SUBDIR += rubygem-mime-types SUBDIR += rubygem-mime-types1 + SUBDIR += rubygem-mimemagic SUBDIR += rubygem-rabbit SUBDIR += rubygem-vpim SUBDIR += rump diff --git a/misc/rubygem-mimemagic/Makefile b/misc/rubygem-mimemagic/Makefile new file mode 100644 index 000000000000..b4fb3ad8fec2 --- /dev/null +++ b/misc/rubygem-mimemagic/Makefile @@ -0,0 +1,18 @@ +# $FreeBSD$ + +PORTNAME= mimemagic +PORTVERSION= 0.3.0 +CATEGORIES= misc rubygems +MASTER_SITES= RG + +MAINTAINER= ports@michael-fausten.de +COMMENT= MIME detection by extension or content in pure ruby +COMMENT= Detects the mime type of a file by extension or by content + +LICENSE= MIT + +USE_RUBY= yes +USE_RUBYGEMS= yes +RUBYGEM_AUTOPLIST= yes + +.include <bsd.port.mk> diff --git a/misc/rubygem-mimemagic/distinfo b/misc/rubygem-mimemagic/distinfo new file mode 100644 index 000000000000..d5a1191ce68e --- /dev/null +++ b/misc/rubygem-mimemagic/distinfo @@ -0,0 +1,2 @@ +SHA256 (rubygem/mimemagic-0.3.0.gem) = a9a1de1e5750b4e59d1126a84dd67ae55595feda835f1659e3fe686917c13480 +SIZE (rubygem/mimemagic-0.3.0.gem) = 354816 diff --git a/misc/rubygem-mimemagic/pkg-descr b/misc/rubygem-mimemagic/pkg-descr new file mode 100644 index 000000000000..12da3a261677 --- /dev/null +++ b/misc/rubygem-mimemagic/pkg-descr @@ -0,0 +1,4 @@ +MimeMagic is a library to detect the mime type of a file by extension or by +content. It uses the mime database provided by freedesktop.org. + +WWW: https://github.com/minad/mimemagic |