Commit 9a1d83af authored by olgeni's avatar olgeni
Browse files

Add devel/erlang-gpb, a Google Protobuf implementation for Erlang.

We already had devel/erlang-protobuffs, but this is used by the Elixir
Protobuf port too.
parent 72469cae
......@@ -449,6 +449,7 @@
SUBDIR += erlang-gen_smtp
SUBDIR += erlang-getopt
SUBDIR += erlang-goldrush
SUBDIR += erlang-gpb
SUBDIR += erlang-gproc
SUBDIR += erlang-jobs
SUBDIR += erlang-jsx
......
# $FreeBSD$
PORTNAME= gpb
PORTVERSION= 3.18.6
CATEGORIES= devel
PKGNAMEPREFIX= erlang-
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Google Protobuf implementation for Erlang
LICENSE= LGPL21
USES= erlang:rebar
USE_GITHUB= yes
GH_ACCOUNT= tomas-abrahamsson
GH_PROJECT= gpb
.include <bsd.port.mk>
SHA256 (tomas-abrahamsson-gpb-3.18.6_GH0.tar.gz) = f5163c35813c4460df5d33fe89d35d1e6d9d971c03abeeef933af38bf49f522a
SIZE (tomas-abrahamsson-gpb-3.18.6_GH0.tar.gz) = 283698
--- build/mk_version_hrl.orig 2015-07-14 10:15:12 UTC
+++ build/mk_version_hrl
@@ -1,7 +1,6 @@
#! /bin/sh
sed \
- -e "s/@vsn@/`git describe --always --tags --match '[0-9]*.[0-9]*'`/g" \
-e "s/is expected to be/was/g" \
-e '/^%% The version below/ i \
%% DO NOT EDIT -- generated from gpb_version.hrl.in' \
--- include/gpb_version.hrl.in.orig 2015-07-14 10:14:25 UTC
+++ include/gpb_version.hrl.in
@@ -5,6 +5,6 @@
%% at build-time, see the rebar.config or the Makefile
%% NB: The build/mk_version_hrl depends on the exact wording
--define(gpb_version, "@vsn@").
+-define(gpb_version, "%%PORTVERSION%%").
-endif. %% gpb_version_hrl
Compiler for Google protocol buffer definitions files for Erlang.
WWW: https://github.com/tomas-abrahamsson/gpb
lib/erlang/lib/gpb-%%VERSION%%/ebin/gpb.app
lib/erlang/lib/gpb-%%VERSION%%/ebin/gpb.beam
lib/erlang/lib/gpb-%%VERSION%%/ebin/gpb_codegen.beam
lib/erlang/lib/gpb-%%VERSION%%/ebin/gpb_compile.beam
lib/erlang/lib/gpb-%%VERSION%%/ebin/gpb_compile_descr.beam
lib/erlang/lib/gpb-%%VERSION%%/ebin/gpb_descriptor.beam
lib/erlang/lib/gpb-%%VERSION%%/ebin/gpb_parse.beam
lib/erlang/lib/gpb-%%VERSION%%/ebin/gpb_scan.beam
lib/erlang/lib/gpb-%%VERSION%%/include/gpb.hrl
lib/erlang/lib/gpb-%%VERSION%%/include/gpb_version.hrl
lib/erlang/lib/gpb-%%VERSION%%/include/gpb_version.hrl.in
lib/erlang/lib/gpb-%%VERSION%%/src/gpb.app.src
lib/erlang/lib/gpb-%%VERSION%%/src/gpb.erl
lib/erlang/lib/gpb-%%VERSION%%/src/gpb_codegen.erl
lib/erlang/lib/gpb-%%VERSION%%/src/gpb_codegen.hrl
lib/erlang/lib/gpb-%%VERSION%%/src/gpb_compile.erl
lib/erlang/lib/gpb-%%VERSION%%/src/gpb_parse.erl
lib/erlang/lib/gpb-%%VERSION%%/src/gpb_parse.yrl
lib/erlang/lib/gpb-%%VERSION%%/src/gpb_scan.erl
lib/erlang/lib/gpb-%%VERSION%%/src/gpb_scan.xrl
%%PORTDOCS%%%%DOCSDIR%%/README.md
%%PORTDOCS%%%%DOCSDIR%%/README.nif-cc
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