svn commit: r391978 - in head/devel: . erlang-gpb erlang-gpb/files

Jimmy Olgeni olgeni at FreeBSD.org
Tue Jul 14 10:49:58 UTC 2015


Author: olgeni
Date: Tue Jul 14 10:49:55 2015
New Revision: 391978
URL: https://svnweb.freebsd.org/changeset/ports/391978

Log:
  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.

Added:
  head/devel/erlang-gpb/
  head/devel/erlang-gpb/Makefile   (contents, props changed)
  head/devel/erlang-gpb/distinfo   (contents, props changed)
  head/devel/erlang-gpb/files/
  head/devel/erlang-gpb/files/patch-build_mk__version__hrl   (contents, props changed)
  head/devel/erlang-gpb/files/patch-include_gpb__version.hrl.in   (contents, props changed)
  head/devel/erlang-gpb/pkg-descr   (contents, props changed)
  head/devel/erlang-gpb/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Tue Jul 14 10:45:38 2015	(r391977)
+++ head/devel/Makefile	Tue Jul 14 10:49:55 2015	(r391978)
@@ -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

Added: head/devel/erlang-gpb/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/erlang-gpb/Makefile	Tue Jul 14 10:49:55 2015	(r391978)
@@ -0,0 +1,18 @@
+# $FreeBSD$
+
+PORTNAME=	gpb
+PORTVERSION=	3.18.6
+CATEGORIES=	devel
+PKGNAMEPREFIX=	erlang-
+
+MAINTAINER=	olgeni at 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>

Added: head/devel/erlang-gpb/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/erlang-gpb/distinfo	Tue Jul 14 10:49:55 2015	(r391978)
@@ -0,0 +1,2 @@
+SHA256 (tomas-abrahamsson-gpb-3.18.6_GH0.tar.gz) = f5163c35813c4460df5d33fe89d35d1e6d9d971c03abeeef933af38bf49f522a
+SIZE (tomas-abrahamsson-gpb-3.18.6_GH0.tar.gz) = 283698

Added: head/devel/erlang-gpb/files/patch-build_mk__version__hrl
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/erlang-gpb/files/patch-build_mk__version__hrl	Tue Jul 14 10:49:55 2015	(r391978)
@@ -0,0 +1,10 @@
+--- 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' \

Added: head/devel/erlang-gpb/files/patch-include_gpb__version.hrl.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/erlang-gpb/files/patch-include_gpb__version.hrl.in	Tue Jul 14 10:49:55 2015	(r391978)
@@ -0,0 +1,10 @@
+--- 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

Added: head/devel/erlang-gpb/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/erlang-gpb/pkg-descr	Tue Jul 14 10:49:55 2015	(r391978)
@@ -0,0 +1,3 @@
+Compiler for Google protocol buffer definitions files for Erlang.
+
+WWW: https://github.com/tomas-abrahamsson/gpb

Added: head/devel/erlang-gpb/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/erlang-gpb/pkg-plist	Tue Jul 14 10:49:55 2015	(r391978)
@@ -0,0 +1,22 @@
+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


More information about the svn-ports-head mailing list