From owner-svn-ports-head@FreeBSD.ORG Tue May 5 10:34:00 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 418F11DD; Tue, 5 May 2015 10:34:00 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2F0F81DB1; Tue, 5 May 2015 10:34:00 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t45AY05c099076; Tue, 5 May 2015 10:34:00 GMT (envelope-from olgeni@FreeBSD.org) Received: (from olgeni@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t45AXwlW099065; Tue, 5 May 2015 10:33:58 GMT (envelope-from olgeni@FreeBSD.org) Message-Id: <201505051033.t45AXwlW099065@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: olgeni set sender to olgeni@FreeBSD.org using -f From: Jimmy Olgeni Date: Tue, 5 May 2015 10:33:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r385459 - in head/devel: . erlang-protobuffs erlang-protobuffs/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2015 10:34:00 -0000 Author: olgeni Date: Tue May 5 10:33:57 2015 New Revision: 385459 URL: https://svnweb.freebsd.org/changeset/ports/385459 Log: Add devel/erlang-protobuffs, a protocol buffers interface for Erlang. Added: head/devel/erlang-protobuffs/ head/devel/erlang-protobuffs/Makefile (contents, props changed) head/devel/erlang-protobuffs/distinfo (contents, props changed) head/devel/erlang-protobuffs/files/ head/devel/erlang-protobuffs/files/patch-rebar.config (contents, props changed) head/devel/erlang-protobuffs/files/patch-src_protobuffs.app.src (contents, props changed) head/devel/erlang-protobuffs/pkg-descr (contents, props changed) head/devel/erlang-protobuffs/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Tue May 5 10:28:52 2015 (r385458) +++ head/devel/Makefile Tue May 5 10:33:57 2015 (r385459) @@ -408,6 +408,7 @@ SUBDIR += eric6 SUBDIR += eris SUBDIR += erlang-msgpack + SUBDIR += erlang-protobuffs SUBDIR += esdl SUBDIR += etcd SUBDIR += etcdctl Added: head/devel/erlang-protobuffs/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/erlang-protobuffs/Makefile Tue May 5 10:33:57 2015 (r385459) @@ -0,0 +1,40 @@ +# $FreeBSD$ + +PORTNAME= protobuffs +PORTVERSION= 0.8.1p5 +CATEGORIES= devel +PKGNAMEPREFIX= erlang- + +MAINTAINER= olgeni@FreeBSD.org +COMMENT= Protocol Buffers interface for Erlang + +BUILD_DEPENDS= erlc:${PORTSDIR}/lang/erlang \ + rebar:${PORTSDIR}/devel/rebar +RUN_DEPENDS= erl:${PORTSDIR}/lang/erlang + +PLIST_SUB= VERSION="${PORTVERSION}" + +USE_GITHUB= yes +GH_ACCOUNT= basho +GH_PROJECT= erlang_protobuffs + +OPTIONS_DEFINE= DOCS + +.include + +post-patch: + @${REINPLACE_CMD} -e "s/%%PORTVERSION%%/${PORTVERSION}/" ${WRKSRC}/src/protobuffs.app.src + @${RM} ${WRKSRC}/src/*.bak ${WRKSRC}/src/*.orig + +do-install: +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.markdown ${STAGEDIR}${DOCSDIR} +.endif + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/protobuffs-${PORTVERSION} + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/protobuffs-${PORTVERSION}/ebin + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/protobuffs-${PORTVERSION}/src + ${INSTALL_DATA} ${WRKSRC}/ebin/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/protobuffs-${PORTVERSION}/ebin + ${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/protobuffs-${PORTVERSION}/src + +.include Added: head/devel/erlang-protobuffs/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/erlang-protobuffs/distinfo Tue May 5 10:33:57 2015 (r385459) @@ -0,0 +1,2 @@ +SHA256 (basho-erlang_protobuffs-0.8.1p5_GH0.tar.gz) = da82e70e7e725b0a2c5794e7fd39ddbb014012bc1ec2846574fe0ffc442e8fa8 +SIZE (basho-erlang_protobuffs-0.8.1p5_GH0.tar.gz) = 132265 Added: head/devel/erlang-protobuffs/files/patch-rebar.config ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/erlang-protobuffs/files/patch-rebar.config Tue May 5 10:33:57 2015 (r385459) @@ -0,0 +1,13 @@ + +$FreeBSD$ + +--- rebar.config.orig ++++ rebar.config +@@ -1,7 +1,6 @@ + {erl_opts, [debug_info]}. + + {deps,[ +- {meck, "0.8.2", {git, "git://github.com/basho/meck.git", {tag, "0.8.2"}}} + ]}. + + {clean_files, ["*~","**/*~","**/*.beam","logs/*","test/Emakefile"]}. Added: head/devel/erlang-protobuffs/files/patch-src_protobuffs.app.src ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/erlang-protobuffs/files/patch-src_protobuffs.app.src Tue May 5 10:33:57 2015 (r385459) @@ -0,0 +1,13 @@ + +$FreeBSD$ + +--- src/protobuffs.app.src.orig ++++ src/protobuffs.app.src +@@ -1,6 +1,6 @@ + { application, protobuffs, + [ { description, "Google protobuffs implementation for Erlang." }, +- { vsn, git }, ++ { vsn, "%%PORTVERSION%%" }, + { registered, [] }, + { applications, [kernel,stdlib] }, + { env, [] } Added: head/devel/erlang-protobuffs/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/erlang-protobuffs/pkg-descr Tue May 5 10:33:57 2015 (r385459) @@ -0,0 +1,3 @@ +Protocol Buffers interface for Erlang. + +WWW: https://github.com/basho/erlang_protobuffs Added: head/devel/erlang-protobuffs/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/erlang-protobuffs/pkg-plist Tue May 5 10:33:57 2015 (r385459) @@ -0,0 +1,18 @@ +lib/erlang/lib/protobuffs-%%VERSION%%/ebin/pokemon_pb.beam +lib/erlang/lib/protobuffs-%%VERSION%%/ebin/protobuffs.app +lib/erlang/lib/protobuffs-%%VERSION%%/ebin/protobuffs.beam +lib/erlang/lib/protobuffs-%%VERSION%%/ebin/protobuffs_compile.beam +lib/erlang/lib/protobuffs-%%VERSION%%/ebin/protobuffs_file.beam +lib/erlang/lib/protobuffs-%%VERSION%%/ebin/protobuffs_parser.beam +lib/erlang/lib/protobuffs-%%VERSION%%/ebin/protobuffs_scanner.beam +lib/erlang/lib/protobuffs-%%VERSION%%/src/overview.edoc +lib/erlang/lib/protobuffs-%%VERSION%%/src/pokemon_pb.erl +lib/erlang/lib/protobuffs-%%VERSION%%/src/protobuffs.app.src +lib/erlang/lib/protobuffs-%%VERSION%%/src/protobuffs.erl +lib/erlang/lib/protobuffs-%%VERSION%%/src/protobuffs_compile.erl +lib/erlang/lib/protobuffs-%%VERSION%%/src/protobuffs_file.erl +lib/erlang/lib/protobuffs-%%VERSION%%/src/protobuffs_parser.erl +lib/erlang/lib/protobuffs-%%VERSION%%/src/protobuffs_parser.yrl +lib/erlang/lib/protobuffs-%%VERSION%%/src/protobuffs_scanner.erl +lib/erlang/lib/protobuffs-%%VERSION%%/src/protobuffs_scanner.xrl +%%PORTDOCS%%%%DOCSDIR%%/README.markdown