aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2015-07-03 07:19:52 +0800
committerolgeni <olgeni@FreeBSD.org>2015-07-03 07:19:52 +0800
commitdf4ffa656bb382eeec820fc626b02ff1d76c0d98 (patch)
tree89eb18a016d3204e756d904556585881a78d3e44 /devel
parentb61d1df96b22fdd1fa378c245f35b3857d14a933 (diff)
downloadfreebsd-ports-gnome-df4ffa656bb382eeec820fc626b02ff1d76c0d98.tar.gz
freebsd-ports-gnome-df4ffa656bb382eeec820fc626b02ff1d76c0d98.tar.zst
freebsd-ports-gnome-df4ffa656bb382eeec820fc626b02ff1d76c0d98.zip
Add devel/elixir-timex-interval, a date/time interval library for Elixir.
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/elixir-timex-interval/Makefile21
-rw-r--r--devel/elixir-timex-interval/distinfo2
-rw-r--r--devel/elixir-timex-interval/files/patch-mix.exs11
-rw-r--r--devel/elixir-timex-interval/pkg-descr3
-rw-r--r--devel/elixir-timex-interval/pkg-plist8
6 files changed, 46 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index b806d2002c4a..eac898b72feb 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -416,6 +416,7 @@
SUBDIR += elixir-plug
SUBDIR += elixir-poison
SUBDIR += elixir-timex
+ SUBDIR += elixir-timex-interval
SUBDIR += elixir-tzdata
SUBDIR += embb
SUBDIR += epl.el
diff --git a/devel/elixir-timex-interval/Makefile b/devel/elixir-timex-interval/Makefile
new file mode 100644
index 000000000000..7eca2195c82c
--- /dev/null
+++ b/devel/elixir-timex-interval/Makefile
@@ -0,0 +1,21 @@
+# $FreeBSD$
+
+PORTNAME= timex-interval
+PORTVERSION= 0.4.0
+CATEGORIES= devel
+PKGNAMEPREFIX= elixir-
+
+MAINTAINER= olgeni@FreeBSD.org
+COMMENT= Date/time interval library for Elixir
+
+LICENSE= APACHE20
+
+USE_GITHUB= yes
+GH_ACCOUNT= bitwalker
+
+ELIXIR_APP_NAME=timex_interval
+MIX_BUILD_DEPS= devel/elixir-timex
+MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
+
+.include "${.CURDIR}/../../lang/elixir/bsd.elixir.mk"
+.include <bsd.port.mk>
diff --git a/devel/elixir-timex-interval/distinfo b/devel/elixir-timex-interval/distinfo
new file mode 100644
index 000000000000..cd9878970253
--- /dev/null
+++ b/devel/elixir-timex-interval/distinfo
@@ -0,0 +1,2 @@
+SHA256 (bitwalker-timex-interval-0.4.0_GH0.tar.gz) = 80a899c886474f76aa0e656877a1d53f46aa8f906c983b691d5a1998ed0f656e
+SIZE (bitwalker-timex-interval-0.4.0_GH0.tar.gz) = 7595
diff --git a/devel/elixir-timex-interval/files/patch-mix.exs b/devel/elixir-timex-interval/files/patch-mix.exs
new file mode 100644
index 000000000000..efad127cadca
--- /dev/null
+++ b/devel/elixir-timex-interval/files/patch-mix.exs
@@ -0,0 +1,11 @@
+--- mix.exs.orig 2015-07-02 23:05:16 UTC
++++ mix.exs
+@@ -12,7 +12,7 @@ defmodule TimexInterval.Mixfile do
+ end
+
+ defp deps do
+- [ {:timex, "~> 0.13.1"} ]
++ []
+ end
+
+ defp package do
diff --git a/devel/elixir-timex-interval/pkg-descr b/devel/elixir-timex-interval/pkg-descr
new file mode 100644
index 000000000000..787d8331d0c4
--- /dev/null
+++ b/devel/elixir-timex-interval/pkg-descr
@@ -0,0 +1,3 @@
+A date/time interval library for Elixir projects, based on Timex.
+
+WWW: https://github.com/bitwalker/timex-interval
diff --git a/devel/elixir-timex-interval/pkg-plist b/devel/elixir-timex-interval/pkg-plist
new file mode 100644
index 000000000000..5a027dee53f5
--- /dev/null
+++ b/devel/elixir-timex-interval/pkg-plist
@@ -0,0 +1,8 @@
+lib/elixir/lib/timex_interval/ebin/Elixir.Access.TimexInterval.DateTimeInterval.beam
+lib/elixir/lib/timex_interval/ebin/Elixir.Enumerable.TimexInterval.DateTimeInterval.beam
+lib/elixir/lib/timex_interval/ebin/Elixir.TimexInterval.DateTimeInterval.beam
+lib/elixir/lib/timex_interval/ebin/Elixir.TimexInterval.beam
+lib/elixir/lib/timex_interval/ebin/timex_interval.app
+lib/elixir/lib/timex_interval/lib/datetime.ex
+lib/elixir/lib/timex_interval/lib/interval.ex
+%%PORTDOCS%%%%DOCSDIR%%/README.md