aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2016-07-20 16:33:24 +0800
committerolgeni <olgeni@FreeBSD.org>2016-07-20 16:33:24 +0800
commit1248565086d0cc6deeaeacab79d90f6bf4a7a25e (patch)
tree3fea674b22f56a0f19f28c5e9f3c8c057523a716 /misc
parent83aefb77193a27d0e0a49173997d16f100c0eb9c (diff)
downloadfreebsd-ports-gnome-1248565086d0cc6deeaeacab79d90f6bf4a7a25e.tar.gz
freebsd-ports-gnome-1248565086d0cc6deeaeacab79d90f6bf4a7a25e.tar.zst
freebsd-ports-gnome-1248565086d0cc6deeaeacab79d90f6bf4a7a25e.zip
Add misc/erlang-mimetypes, an Erlang library to fetch MIME
extension/name mappings.
Diffstat (limited to 'misc')
-rw-r--r--misc/Makefile1
-rw-r--r--misc/erlang-mimetypes/Makefile17
-rw-r--r--misc/erlang-mimetypes/distinfo3
-rw-r--r--misc/erlang-mimetypes/pkg-descr3
-rw-r--r--misc/erlang-mimetypes/pkg-plist20
5 files changed, 44 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
index 9075592a92ae..fa5faf1a4519 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -76,6 +76,7 @@
SUBDIR += elixir-uuid
SUBDIR += elscreen
SUBDIR += erlang-mimerl
+ SUBDIR += erlang-mimetypes
SUBDIR += esniper
SUBDIR += estic
SUBDIR += excel-writer
diff --git a/misc/erlang-mimetypes/Makefile b/misc/erlang-mimetypes/Makefile
new file mode 100644
index 000000000000..0b1a4d642eb7
--- /dev/null
+++ b/misc/erlang-mimetypes/Makefile
@@ -0,0 +1,17 @@
+# $FreeBSD$
+
+PORTNAME= mimetypes
+PORTVERSION= 1.0
+CATEGORIES= misc
+PKGNAMEPREFIX= erlang-
+
+MAINTAINER= olgeni@FreeBSD.org
+COMMENT= Erlang MIME types library
+
+LICENSE= BSD3CLAUSE
+
+USES= erlang:rebar
+USE_GITHUB= yes
+GH_ACCOUNT= spawngrid
+
+.include <bsd.port.mk>
diff --git a/misc/erlang-mimetypes/distinfo b/misc/erlang-mimetypes/distinfo
new file mode 100644
index 000000000000..532cfda28864
--- /dev/null
+++ b/misc/erlang-mimetypes/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1469003310
+SHA256 (spawngrid-mimetypes-1.0_GH0.tar.gz) = 9e8c377f82f958393e0a040d167a3a0143f2c61fb38f51aaf7a5db3630564def
+SIZE (spawngrid-mimetypes-1.0_GH0.tar.gz) = 126619
diff --git a/misc/erlang-mimetypes/pkg-descr b/misc/erlang-mimetypes/pkg-descr
new file mode 100644
index 000000000000..6239cd611418
--- /dev/null
+++ b/misc/erlang-mimetypes/pkg-descr
@@ -0,0 +1,3 @@
+Erlang library to fetch MIME extension/name mappings.
+
+WWW: https://github.com/spawngrid/mimetypes
diff --git a/misc/erlang-mimetypes/pkg-plist b/misc/erlang-mimetypes/pkg-plist
new file mode 100644
index 000000000000..96d290969758
--- /dev/null
+++ b/misc/erlang-mimetypes/pkg-plist
@@ -0,0 +1,20 @@
+lib/erlang/lib/mimetypes-%%VERSION%%/ebin/mimetypes.app
+lib/erlang/lib/mimetypes-%%VERSION%%/ebin/mimetypes.beam
+lib/erlang/lib/mimetypes-%%VERSION%%/ebin/mimetypes_app.beam
+lib/erlang/lib/mimetypes-%%VERSION%%/ebin/mimetypes_disp.beam
+lib/erlang/lib/mimetypes-%%VERSION%%/ebin/mimetypes_loader.beam
+lib/erlang/lib/mimetypes-%%VERSION%%/ebin/mimetypes_map.beam
+lib/erlang/lib/mimetypes-%%VERSION%%/ebin/mimetypes_parse.beam
+lib/erlang/lib/mimetypes-%%VERSION%%/ebin/mimetypes_scan.beam
+lib/erlang/lib/mimetypes-%%VERSION%%/ebin/mimetypes_sup.beam
+lib/erlang/lib/mimetypes-%%VERSION%%/priv/mime.types
+lib/erlang/lib/mimetypes-%%VERSION%%/src/mimetypes.app.src
+lib/erlang/lib/mimetypes-%%VERSION%%/src/mimetypes.erl
+lib/erlang/lib/mimetypes-%%VERSION%%/src/mimetypes_app.erl
+lib/erlang/lib/mimetypes-%%VERSION%%/src/mimetypes_loader.erl
+lib/erlang/lib/mimetypes-%%VERSION%%/src/mimetypes_parse.erl
+lib/erlang/lib/mimetypes-%%VERSION%%/src/mimetypes_parse.yrl
+lib/erlang/lib/mimetypes-%%VERSION%%/src/mimetypes_scan.erl
+lib/erlang/lib/mimetypes-%%VERSION%%/src/mimetypes_scan.xrl
+lib/erlang/lib/mimetypes-%%VERSION%%/src/mimetypes_sup.erl
+%%PORTDOCS%%%%DOCSDIR%%/README.md