aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2015-07-12 01:44:26 +0800
committerolgeni <olgeni@FreeBSD.org>2015-07-12 01:44:26 +0800
commit8660013e82e9fa61eeb93cdd01d536d5410b8b4f (patch)
tree9dcd3a5969974e335a8a13e9088c0b196bf754f2 /devel
parent5df0b9057d80b614cdc76b0e4972678bdc9b3a7a (diff)
downloadfreebsd-ports-gnome-8660013e82e9fa61eeb93cdd01d536d5410b8b4f.tar.gz
freebsd-ports-gnome-8660013e82e9fa61eeb93cdd01d536d5410b8b4f.tar.zst
freebsd-ports-gnome-8660013e82e9fa61eeb93cdd01d536d5410b8b4f.zip
Add devel/elixir-csv, a CSV decoding and encoding library for Elixir.
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/elixir-csv/Makefile18
-rw-r--r--devel/elixir-csv/distinfo2
-rw-r--r--devel/elixir-csv/files/patch-mix.exs10
-rw-r--r--devel/elixir-csv/pkg-descr3
-rw-r--r--devel/elixir-csv/pkg-plist20
6 files changed, 54 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 4474bf750fa6..57348e16b78f 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -412,6 +412,7 @@
SUBDIR += elixir-bson
SUBDIR += elixir-calendar
SUBDIR += elixir-conform
+ SUBDIR += elixir-csv
SUBDIR += elixir-decimal
SUBDIR += elixir-dialyze
SUBDIR += elixir-exactor
diff --git a/devel/elixir-csv/Makefile b/devel/elixir-csv/Makefile
new file mode 100644
index 000000000000..85861fd329fa
--- /dev/null
+++ b/devel/elixir-csv/Makefile
@@ -0,0 +1,18 @@
+# $FreeBSD$
+
+PORTNAME= csv
+PORTVERSION= 1.0.1
+DISTVERSIONPREFIX= v
+CATEGORIES= devel
+PKGNAMEPREFIX= elixir-
+
+MAINTAINER= olgeni@FreeBSD.org
+COMMENT= CSV decoding and encoding for Elixir
+
+LICENSE= MIT
+
+USES= elixir
+USE_GITHUB= yes
+GH_ACCOUNT= beatrichartz
+
+.include <bsd.port.mk>
diff --git a/devel/elixir-csv/distinfo b/devel/elixir-csv/distinfo
new file mode 100644
index 000000000000..b508c48fefc4
--- /dev/null
+++ b/devel/elixir-csv/distinfo
@@ -0,0 +1,2 @@
+SHA256 (beatrichartz-csv-v1.0.1_GH0.tar.gz) = 3513c20ca1c8850d09bd774a6fc6385001392c5352cb05f4a552d8aa4bf80916
+SIZE (beatrichartz-csv-v1.0.1_GH0.tar.gz) = 8669
diff --git a/devel/elixir-csv/files/patch-mix.exs b/devel/elixir-csv/files/patch-mix.exs
new file mode 100644
index 000000000000..803dd4603b0b
--- /dev/null
+++ b/devel/elixir-csv/files/patch-mix.exs
@@ -0,0 +1,10 @@
+--- mix.exs.orig 2015-07-11 17:38:59 UTC
++++ mix.exs
+@@ -6,7 +6,6 @@ defmodule CSV.Mixfile do
+ app: :csv,
+ version: "1.0.1",
+ elixir: "~> 1.0.0 or ~> 1.1-dev",
+- deps: deps,
+ package: package,
+ docs: &docs/0,
+ name: "CSV",
diff --git a/devel/elixir-csv/pkg-descr b/devel/elixir-csv/pkg-descr
new file mode 100644
index 000000000000..a8a61f627615
--- /dev/null
+++ b/devel/elixir-csv/pkg-descr
@@ -0,0 +1,3 @@
+RFC 4180 compliant CSV parsing and encoding for Elixir.
+
+WWW: https://github.com/beatrichartz/csv
diff --git a/devel/elixir-csv/pkg-plist b/devel/elixir-csv/pkg-plist
new file mode 100644
index 000000000000..0546ee87529e
--- /dev/null
+++ b/devel/elixir-csv/pkg-plist
@@ -0,0 +1,20 @@
+lib/elixir/lib/csv/ebin/Elixir.CSV.Decoder.beam
+lib/elixir/lib/csv/ebin/Elixir.CSV.Defaults.beam
+lib/elixir/lib/csv/ebin/Elixir.CSV.Encode.Any.beam
+lib/elixir/lib/csv/ebin/Elixir.CSV.Encode.BitString.beam
+lib/elixir/lib/csv/ebin/Elixir.CSV.Encode.beam
+lib/elixir/lib/csv/ebin/Elixir.CSV.Encoder.beam
+lib/elixir/lib/csv/ebin/Elixir.CSV.Lexer.beam
+lib/elixir/lib/csv/ebin/Elixir.CSV.Parser.SyntaxError.beam
+lib/elixir/lib/csv/ebin/Elixir.CSV.Parser.beam
+lib/elixir/lib/csv/ebin/Elixir.CSV.beam
+lib/elixir/lib/csv/ebin/csv.app
+lib/elixir/lib/csv/lib/csv.ex
+lib/elixir/lib/csv/lib/csv/decoder.ex
+lib/elixir/lib/csv/lib/csv/defaults.ex
+lib/elixir/lib/csv/lib/csv/encode.ex
+lib/elixir/lib/csv/lib/csv/encoder.ex
+lib/elixir/lib/csv/lib/csv/exceptions.ex
+lib/elixir/lib/csv/lib/csv/lexer.ex
+lib/elixir/lib/csv/lib/csv/parser.ex
+%%PORTDOCS%%%%DOCSDIR%%/README.md