Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jul 2015 11:22:59 +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: r391983 - in head/devel: . elixir-exprotobuf elixir-exprotobuf/files
Message-ID:  <201507141122.t6EBMxMe036528@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olgeni
Date: Tue Jul 14 11:22:59 2015
New Revision: 391983
URL: https://svnweb.freebsd.org/changeset/ports/391983

Log:
  Add devel/elixir-exprotobuf, a protocol buffers library in Elixir.
  
  This required r391982 to build.

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

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Tue Jul 14 11:20:03 2015	(r391982)
+++ head/devel/Makefile	Tue Jul 14 11:22:59 2015	(r391983)
@@ -419,6 +419,7 @@
     SUBDIR += elixir-estree
     SUBDIR += elixir-exactor
     SUBDIR += elixir-exjsx
+    SUBDIR += elixir-exprotobuf
     SUBDIR += elixir-exrm
     SUBDIR += elixir-hex
     SUBDIR += elixir-inflex

Added: head/devel/elixir-exprotobuf/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/elixir-exprotobuf/Makefile	Tue Jul 14 11:22:59 2015	(r391983)
@@ -0,0 +1,24 @@
+# $FreeBSD$
+
+PORTNAME=	exprotobuf
+PORTVERSION=	0.10.0
+CATEGORIES=	devel
+PKGNAMEPREFIX=	elixir-
+
+MAINTAINER=	olgeni@FreeBSD.org
+COMMENT=	Protocol Buffers in Elixir
+
+LICENSE=	APACHE20
+
+USES=		elixir
+USE_GITHUB=	yes
+GH_ACCOUNT=	bitwalker
+
+MIX_BUILD_DEPS=	devel/erlang-gpb
+MIX_RUN_DEPS:=	${MIX_BUILD_DEPS}
+
+pre-build:
+	@${MKDIR} ${WRKSRC}/deps
+	${LN} -s -f ${LOCALBASE}/lib/erlang/lib/gpb-* ${WRKSRC}/deps/gpb
+
+.include <bsd.port.mk>

Added: head/devel/elixir-exprotobuf/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/elixir-exprotobuf/distinfo	Tue Jul 14 11:22:59 2015	(r391983)
@@ -0,0 +1,2 @@
+SHA256 (bitwalker-exprotobuf-0.10.0_GH0.tar.gz) = a79ce10a8f984bf10bbd271342a98e6eda598aa89a746b1415ce5bfcfeb119ea
+SIZE (bitwalker-exprotobuf-0.10.0_GH0.tar.gz) = 16178

Added: head/devel/elixir-exprotobuf/files/patch-lib_exprotobuf_field.ex
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/elixir-exprotobuf/files/patch-lib_exprotobuf_field.ex	Tue Jul 14 11:22:59 2015	(r391983)
@@ -0,0 +1,12 @@
+--- lib/exprotobuf/field.ex.orig	2015-07-14 11:06:48 UTC
++++ lib/exprotobuf/field.ex
+@@ -1,6 +1,6 @@
+ defmodule Protobuf.Field do
+-  @record Record.Extractor.extract(:"?gpb_field", from: Path.join([Mix.Project.deps_path, "gpb", "include", "gpb.hrl"]))
++  @record Record.Extractor.extract(:"field", from: Path.join([Mix.Project.deps_path, "gpb", "include", "gpb.hrl"]))
+   defstruct @record
+ 
+   def record, do: @record
+-end
+\ No newline at end of file
++end

Added: head/devel/elixir-exprotobuf/files/patch-mix.exs
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/elixir-exprotobuf/files/patch-mix.exs	Tue Jul 14 11:22:59 2015	(r391983)
@@ -0,0 +1,12 @@
+--- mix.exs.orig	2015-07-06 14:47:27 UTC
++++ mix.exs
+@@ -6,8 +6,7 @@ defmodule Protobuf.Mixfile do
+      version: "0.10.0",
+      elixir: "~> 1.0.0",
+      description: description,
+-     package: package,
+-     deps: deps]
++     package: package]
+   end
+ 
+   def application do

Added: head/devel/elixir-exprotobuf/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/elixir-exprotobuf/pkg-descr	Tue Jul 14 11:22:59 2015	(r391983)
@@ -0,0 +1,6 @@
+exprotobuf works by building module/struct definitions from a Google
+Protocol Buffer schema. This allows you to work with protocol buffers
+natively in Elixir, with easy decoding/encoding for transport across
+the wire.
+
+WWW: https://github.com/bitwalker/exprotobuf

Added: head/devel/elixir-exprotobuf/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/elixir-exprotobuf/pkg-plist	Tue Jul 14 11:22:59 2015	(r391983)
@@ -0,0 +1,25 @@
+lib/elixir/lib/exprotobuf/ebin/Elixir.Protobuf.Builder.beam
+lib/elixir/lib/exprotobuf/ebin/Elixir.Protobuf.Config.beam
+lib/elixir/lib/exprotobuf/ebin/Elixir.Protobuf.ConfigError.beam
+lib/elixir/lib/exprotobuf/ebin/Elixir.Protobuf.Decoder.beam
+lib/elixir/lib/exprotobuf/ebin/Elixir.Protobuf.DefineEnum.beam
+lib/elixir/lib/exprotobuf/ebin/Elixir.Protobuf.DefineMessage.beam
+lib/elixir/lib/exprotobuf/ebin/Elixir.Protobuf.Encoder.beam
+lib/elixir/lib/exprotobuf/ebin/Elixir.Protobuf.Field.beam
+lib/elixir/lib/exprotobuf/ebin/Elixir.Protobuf.Parser.ParserError.beam
+lib/elixir/lib/exprotobuf/ebin/Elixir.Protobuf.Parser.beam
+lib/elixir/lib/exprotobuf/ebin/Elixir.Protobuf.Utils.beam
+lib/elixir/lib/exprotobuf/ebin/Elixir.Protobuf.beam
+lib/elixir/lib/exprotobuf/ebin/exprotobuf.app
+lib/elixir/lib/exprotobuf/lib/exprotobuf.ex
+lib/elixir/lib/exprotobuf/lib/exprotobuf/builder.ex
+lib/elixir/lib/exprotobuf/lib/exprotobuf/config.ex
+lib/elixir/lib/exprotobuf/lib/exprotobuf/decoder.ex
+lib/elixir/lib/exprotobuf/lib/exprotobuf/define_enum.ex
+lib/elixir/lib/exprotobuf/lib/exprotobuf/define_message.ex
+lib/elixir/lib/exprotobuf/lib/exprotobuf/encoder.ex
+lib/elixir/lib/exprotobuf/lib/exprotobuf/field.ex
+lib/elixir/lib/exprotobuf/lib/exprotobuf/field.ex.orig
+lib/elixir/lib/exprotobuf/lib/exprotobuf/parser.ex
+lib/elixir/lib/exprotobuf/lib/exprotobuf/utils.ex
+%%PORTDOCS%%%%DOCSDIR%%/README.md



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