Commit bde6b9b7 authored by olgeni's avatar olgeni
Browse files

Add devel/elixir-exprotobuf, a protocol buffers library in Elixir.

This required r391982 to build.
parent e44c29bf
......@@ -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
......
# $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>
SHA256 (bitwalker-exprotobuf-0.10.0_GH0.tar.gz) = a79ce10a8f984bf10bbd271342a98e6eda598aa89a746b1415ce5bfcfeb119ea
SIZE (bitwalker-exprotobuf-0.10.0_GH0.tar.gz) = 16178
--- 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
--- 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
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
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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment