summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2018-12-06 14:25:06 +0000
committertaca <taca@pkgsrc.org>2018-12-06 14:25:06 +0000
commit301f1139ee66e75fabe14b18190fa5487825a56c (patch)
tree6b867f55015e2d455c42e063426468d5ef249fdc /devel
parenta17981cb6e84a3b638f64c0cb1f61d64a55ec9f2 (diff)
downloadpkgsrc-301f1139ee66e75fabe14b18190fa5487825a56c.tar.gz
devel/ruby-marcel: add version 0.3.3
Marcel attempts to choose the most appropriate content type for a given file by looking at the binary data, the filename, and any declared type (perhaps passed as a request header).
Diffstat (limited to 'devel')
-rw-r--r--devel/ruby-marcel/DESCR3
-rw-r--r--devel/ruby-marcel/Makefile16
-rw-r--r--devel/ruby-marcel/PLIST9
-rw-r--r--devel/ruby-marcel/distinfo6
4 files changed, 34 insertions, 0 deletions
diff --git a/devel/ruby-marcel/DESCR b/devel/ruby-marcel/DESCR
new file mode 100644
index 00000000000..4203d4ff17e
--- /dev/null
+++ b/devel/ruby-marcel/DESCR
@@ -0,0 +1,3 @@
+Marcel attempts to choose the most appropriate content type for a given file
+by looking at the binary data, the filename, and any declared type (perhaps
+passed as a request header). \ No newline at end of file
diff --git a/devel/ruby-marcel/Makefile b/devel/ruby-marcel/Makefile
new file mode 100644
index 00000000000..680a0feabc3
--- /dev/null
+++ b/devel/ruby-marcel/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2018/12/06 14:25:06 taca Exp $
+
+DISTNAME= marcel-0.3.3
+CATEGORIES= devel
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/basecamp/marcel
+COMMENT= Simple mime type detection using magic numbers and more
+LICENSE= mit
+
+DEPENDS+= ${RUBY_PKGPREFIX}-mimemagic>=0.3.2<0.4:../../misc/ruby-mimemagic
+
+USE_LANGUAGES= # none
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/ruby-marcel/PLIST b/devel/ruby-marcel/PLIST
new file mode 100644
index 00000000000..f38f4627a78
--- /dev/null
+++ b/devel/ruby-marcel/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1 2018/12/06 14:25:06 taca Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/MIT-LICENSE
+${GEM_LIBDIR}/README.md
+${GEM_LIBDIR}/lib/marcel.rb
+${GEM_LIBDIR}/lib/marcel/mime_type.rb
+${GEM_LIBDIR}/lib/marcel/mime_type/definitions.rb
+${GEM_LIBDIR}/lib/marcel/version.rb
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff --git a/devel/ruby-marcel/distinfo b/devel/ruby-marcel/distinfo
new file mode 100644
index 00000000000..67c96408db9
--- /dev/null
+++ b/devel/ruby-marcel/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/12/06 14:25:06 taca Exp $
+
+SHA1 (marcel-0.3.3.gem) = a4cf7bd4bd3cc8da6275133dbc9745458653fdf4
+RMD160 (marcel-0.3.3.gem) = 1400d37d3884aed17c56991cc9cec345fe0c3501
+SHA512 (marcel-0.3.3.gem) = a68b065835c39cb3e0e18223af220cf13a5fc31021dd9f9bd47ab625ae1013346bdeb755106196cec1796d3ddfa5dd77833a7524391b874882adebb15c2e91ce
+Size (marcel-0.3.3.gem) = 7680 bytes