Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jun 2015 13:52:01 +0000 (UTC)
From:      Jimmy Olgeni <olgeni@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r390963 - in head/devel: . elixir-poison elixir-poison/files
Message-ID:  <201506301352.t5UDq1rB098384@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olgeni
Date: Tue Jun 30 13:52:00 2015
New Revision: 390963
URL: https://svnweb.freebsd.org/changeset/ports/390963

Log:
  Add devel/elixir-poison, a JSON library written in Elixir.

Added:
  head/devel/elixir-poison/
  head/devel/elixir-poison/Makefile   (contents, props changed)
  head/devel/elixir-poison/distinfo   (contents, props changed)
  head/devel/elixir-poison/files/
  head/devel/elixir-poison/files/patch-mix.exs   (contents, props changed)
  head/devel/elixir-poison/pkg-descr   (contents, props changed)
  head/devel/elixir-poison/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Tue Jun 30 13:51:27 2015	(r390962)
+++ head/devel/Makefile	Tue Jun 30 13:52:00 2015	(r390963)
@@ -411,6 +411,7 @@
     SUBDIR += elftoaout
     SUBDIR += elixir-conform
     SUBDIR += elixir-exrm
+    SUBDIR += elixir-poison
     SUBDIR += embb
     SUBDIR += epl.el
     SUBDIR += epm

Added: head/devel/elixir-poison/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/elixir-poison/Makefile	Tue Jun 30 13:52:00 2015	(r390963)
@@ -0,0 +1,36 @@
+# $FreeBSD$
+
+PORTNAME=	poison
+PORTVERSION=	1.4.0
+CATEGORIES=	devel
+PKGNAMEPREFIX=	elixir-
+
+MAINTAINER=	olgeni@FreeBSD.org
+COMMENT=	Pure Elixir JSON library
+
+LICENSE=	ISCL
+
+BUILD_DEPENDS=	elixir:${PORTSDIR}/lang/elixir
+RUN_DEPENDS:=	${BUILD_DEPENDS}
+
+PLIST_SUB=	VERSION="${PORTVERSION}"
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	devinus
+
+do-build:
+	@cd ${WRKSRC} && MIX_ENV=prod mix compile
+
+post-build:
+	@${LN} -s ${WRKSRC}/_build/prod/lib/${PORTNAME}/ebin ${WRKSRC}/ebin
+
+do-install:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/elixir/lib/${PORTNAME}
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/elixir/lib/${PORTNAME}/ebin
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/elixir/lib/${PORTNAME}/lib
+	${INSTALL_DATA} ${WRKSRC}/ebin/* ${STAGEDIR}${PREFIX}/lib/elixir/lib/${PORTNAME}/ebin
+	cd ${WRKSRC}/lib && ${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/lib/elixir/lib/${PORTNAME}/lib
+
+.include <bsd.port.mk>

Added: head/devel/elixir-poison/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/elixir-poison/distinfo	Tue Jun 30 13:52:00 2015	(r390963)
@@ -0,0 +1,2 @@
+SHA256 (devinus-poison-1.4.0_GH0.tar.gz) = cf229316eea9950aa68c1317ba7d33d04d67e0362ae6d105d22ce901ae9cb6ce
+SIZE (devinus-poison-1.4.0_GH0.tar.gz) = 28465

Added: head/devel/elixir-poison/files/patch-mix.exs
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/elixir-poison/files/patch-mix.exs	Tue Jun 30 13:52:00 2015	(r390963)
@@ -0,0 +1,15 @@
+--- mix.exs.orig	2015-06-30 13:45:21 UTC
++++ mix.exs
+@@ -29,11 +29,7 @@ defmodule Poison.Mixfile do
+   #
+   # Type `mix help deps` for more examples and options
+   defp deps do
+-    [{:earmark, "~> 0.1", only: :docs},
+-     {:ex_doc, "~> 0.7", only: :docs},
+-     {:jiffy, github: "davisp/jiffy", only: :bench},
+-     {:exjsx, github: "talentdeficit/exjsx", only: :bench},
+-     {:jazz, github: "meh/jazz", only: :bench}]
++    []
+   end
+ 
+   defp package do

Added: head/devel/elixir-poison/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/elixir-poison/pkg-descr	Tue Jun 30 13:52:00 2015	(r390963)
@@ -0,0 +1,8 @@
+Poison is a new JSON library for Elixir focusing on wicked-fast
+speed without sacrificing simplicity, completeness, or correctness.
+Poison takes several approaches to be the fastest JSON library for
+Elixir. Poison uses extensive sub binary matching, a hand-rolled
+parser using several techniques that are known to benefit HiPE for
+native compilation, IO list encoding and single-pass decoding.
+
+WWW: https://github.com/devinus/poison

Added: head/devel/elixir-poison/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/elixir-poison/pkg-plist	Tue Jun 30 13:52:00 2015	(r390963)
@@ -0,0 +1,26 @@
+lib/elixir/lib/poison/ebin/Elixir.Poison.Decode.beam
+lib/elixir/lib/poison/ebin/Elixir.Poison.Decoder.Any.beam
+lib/elixir/lib/poison/ebin/Elixir.Poison.Decoder.beam
+lib/elixir/lib/poison/ebin/Elixir.Poison.Encode.beam
+lib/elixir/lib/poison/ebin/Elixir.Poison.EncodeError.beam
+lib/elixir/lib/poison/ebin/Elixir.Poison.Encoder.Any.beam
+lib/elixir/lib/poison/ebin/Elixir.Poison.Encoder.Atom.beam
+lib/elixir/lib/poison/ebin/Elixir.Poison.Encoder.BitString.beam
+lib/elixir/lib/poison/ebin/Elixir.Poison.Encoder.Float.beam
+lib/elixir/lib/poison/ebin/Elixir.Poison.Encoder.HashDict.beam
+lib/elixir/lib/poison/ebin/Elixir.Poison.Encoder.HashSet.beam
+lib/elixir/lib/poison/ebin/Elixir.Poison.Encoder.Integer.beam
+lib/elixir/lib/poison/ebin/Elixir.Poison.Encoder.List.beam
+lib/elixir/lib/poison/ebin/Elixir.Poison.Encoder.Map.beam
+lib/elixir/lib/poison/ebin/Elixir.Poison.Encoder.Range.beam
+lib/elixir/lib/poison/ebin/Elixir.Poison.Encoder.Stream.beam
+lib/elixir/lib/poison/ebin/Elixir.Poison.Encoder.beam
+lib/elixir/lib/poison/ebin/Elixir.Poison.Parser.beam
+lib/elixir/lib/poison/ebin/Elixir.Poison.SyntaxError.beam
+lib/elixir/lib/poison/ebin/Elixir.Poison.beam
+lib/elixir/lib/poison/ebin/poison.app
+lib/elixir/lib/poison/lib/poison.ex
+lib/elixir/lib/poison/lib/poison/decoder.ex
+lib/elixir/lib/poison/lib/poison/encoder.ex
+lib/elixir/lib/poison/lib/poison/parser.ex
+%%PORTDOCS%%%%DOCSDIR%%/README.md



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506301352.t5UDq1rB098384>