From b0300a14ac7fffba7d204c9d02e06eaa53c4abf8 Mon Sep 17 00:00:00 2001 From: Jimmy Olgeni Date: Sat, 21 Oct 2017 20:22:31 +0000 Subject: [PATCH] Add devel/elixir-trailing_format_plug, an Elixir plug to support rails-like trailing format in APIs. --- devel/Makefile | 1 + devel/elixir-trailing_format_plug/Makefile | 22 +++++++++++++++++++++ devel/elixir-trailing_format_plug/distinfo | 3 +++ devel/elixir-trailing_format_plug/pkg-descr | 4 ++++ devel/elixir-trailing_format_plug/pkg-plist | 4 ++++ 5 files changed, 34 insertions(+) create mode 100644 devel/elixir-trailing_format_plug/Makefile create mode 100644 devel/elixir-trailing_format_plug/distinfo create mode 100644 devel/elixir-trailing_format_plug/pkg-descr create mode 100644 devel/elixir-trailing_format_plug/pkg-plist diff --git a/devel/Makefile b/devel/Makefile index ee15776c95de..348491fb416e 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -542,6 +542,7 @@ SUBDIR += elixir-swarm SUBDIR += elixir-timex SUBDIR += elixir-tirexs + SUBDIR += elixir-trailing_format_plug SUBDIR += elixir-tzdata SUBDIR += embb SUBDIR += epl.el diff --git a/devel/elixir-trailing_format_plug/Makefile b/devel/elixir-trailing_format_plug/Makefile new file mode 100644 index 000000000000..98d1b9eb9e0b --- /dev/null +++ b/devel/elixir-trailing_format_plug/Makefile @@ -0,0 +1,22 @@ +# $FreeBSD$ + +PORTNAME= trailing_format_plug +PORTVERSION= 0.0.7 +DISTVERSIONPREFIX= v +CATEGORIES= devel +PKGNAMEPREFIX= elixir- + +MAINTAINER= olgeni@FreeBSD.org +COMMENT= Elixir plug to support rails-like trailing format in APIs + +LICENSE= APACHE20 + +USES= elixir +USE_GITHUB= yes +GH_ACCOUNT= mschae + +MIX_BUILD_DEPS= devel/elixir-plug +MIX_RUN_DEPS:= ${MIX_BUILD_DEPS} +MIX_REWRITE= yes + +.include diff --git a/devel/elixir-trailing_format_plug/distinfo b/devel/elixir-trailing_format_plug/distinfo new file mode 100644 index 000000000000..a65b8df65b4f --- /dev/null +++ b/devel/elixir-trailing_format_plug/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1508616146 +SHA256 (mschae-trailing_format_plug-v0.0.7_GH0.tar.gz) = ad5a3f91cbd0a739a3a1b62158fa8a2dc709a0b5a2c39ea2afce2bede9a2fd74 +SIZE (mschae-trailing_format_plug-v0.0.7_GH0.tar.gz) = 3452 diff --git a/devel/elixir-trailing_format_plug/pkg-descr b/devel/elixir-trailing_format_plug/pkg-descr new file mode 100644 index 000000000000..2a18f86e4f8b --- /dev/null +++ b/devel/elixir-trailing_format_plug/pkg-descr @@ -0,0 +1,4 @@ +An Elixir plug to support legacy APIs that use a rails-like trailing +format. + +WWW: https://github.com/mschae/trailing_format_plug diff --git a/devel/elixir-trailing_format_plug/pkg-plist b/devel/elixir-trailing_format_plug/pkg-plist new file mode 100644 index 000000000000..967e1568d8fc --- /dev/null +++ b/devel/elixir-trailing_format_plug/pkg-plist @@ -0,0 +1,4 @@ +lib/elixir/lib/trailing_format_plug/ebin/Elixir.TrailingFormatPlug.beam +lib/elixir/lib/trailing_format_plug/ebin/trailing_format_plug.app +lib/elixir/lib/trailing_format_plug/lib/trailing_format_plug.ex +%%PORTDOCS%%%%DOCSDIR%%/README.md