Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 May 2015 10:01:07 +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: r385455 - in head/devel: . erlang-msgpack erlang-msgpack/files
Message-ID:  <201505051001.t45A17kB080380@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olgeni
Date: Tue May  5 10:01:06 2015
New Revision: 385455
URL: https://svnweb.freebsd.org/changeset/ports/385455

Log:
  Add devel/erlang-msgpack, an Erlang library for MessagePack.

Added:
  head/devel/erlang-msgpack/
  head/devel/erlang-msgpack/Makefile   (contents, props changed)
  head/devel/erlang-msgpack/distinfo   (contents, props changed)
  head/devel/erlang-msgpack/files/
  head/devel/erlang-msgpack/files/patch-src_msgpack.app.src   (contents, props changed)
  head/devel/erlang-msgpack/pkg-descr   (contents, props changed)
  head/devel/erlang-msgpack/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Tue May  5 09:53:18 2015	(r385454)
+++ head/devel/Makefile	Tue May  5 10:01:06 2015	(r385455)
@@ -407,6 +407,7 @@
     SUBDIR += eric4
     SUBDIR += eric6
     SUBDIR += eris
+    SUBDIR += erlang-msgpack
     SUBDIR += esdl
     SUBDIR += etcd
     SUBDIR += etcdctl

Added: head/devel/erlang-msgpack/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/erlang-msgpack/Makefile	Tue May  5 10:01:06 2015	(r385455)
@@ -0,0 +1,42 @@
+# $FreeBSD$
+
+PORTNAME=	msgpack-erlang
+PORTVERSION=	0.3.3
+CATEGORIES=	devel
+
+MAINTAINER=	olgeni@FreeBSD.org
+COMMENT=	MessagePack (de)serializer for Erlang
+
+LICENSE=	APACHE20
+
+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=	msgpack
+GH_PROJECT=	msgpack-erlang
+
+OPTIONS_DEFINE=	DOCS
+
+.include <bsd.port.options.mk>
+
+post-patch:
+	@${REINPLACE_CMD} -e "s/%%PORTVERSION%%/${PORTVERSION}/" ${WRKSRC}/src/msgpack.app.src
+
+do-install:
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
+.endif
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/msgpack-${PORTVERSION}
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/msgpack-${PORTVERSION}/ebin
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/msgpack-${PORTVERSION}/include
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/msgpack-${PORTVERSION}/src
+	${INSTALL_DATA} ${WRKSRC}/ebin/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/msgpack-${PORTVERSION}/ebin
+	${INSTALL_DATA} ${WRKSRC}/include/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/msgpack-${PORTVERSION}/include
+	${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/msgpack-${PORTVERSION}/src
+
+.include <bsd.port.mk>

Added: head/devel/erlang-msgpack/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/erlang-msgpack/distinfo	Tue May  5 10:01:06 2015	(r385455)
@@ -0,0 +1,2 @@
+SHA256 (msgpack-msgpack-erlang-0.3.3_GH0.tar.gz) = 4b1bfcab660e9b6e4a971adfc96f23540d6d1e1fb592233687689881c34bcb8f
+SIZE (msgpack-msgpack-erlang-0.3.3_GH0.tar.gz) = 166316

Added: head/devel/erlang-msgpack/files/patch-src_msgpack.app.src
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/erlang-msgpack/files/patch-src_msgpack.app.src	Tue May  5 10:01:06 2015	(r385455)
@@ -0,0 +1,13 @@
+
+$FreeBSD$
+
+--- src/msgpack.app.src.orig
++++ src/msgpack.app.src
+@@ -1,6 +1,6 @@
+ {application, msgpack,
+  [{description, "MessagePack serializer/deserializer"},
+-  {vsn, git},
++  {vsn, "%%PORTVERSION%%"},
+   {modules, 
+    [msgpack]
+   },

Added: head/devel/erlang-msgpack/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/erlang-msgpack/pkg-descr	Tue May  5 10:01:06 2015	(r385455)
@@ -0,0 +1,3 @@
+MessagePack (de)serializer for Erlang.
+
+WWW: https://github.com/msgpack/msgpack-erlang

Added: head/devel/erlang-msgpack/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/erlang-msgpack/pkg-plist	Tue May  5 10:01:06 2015	(r385455)
@@ -0,0 +1,16 @@
+lib/erlang/lib/msgpack-%%VERSION%%/ebin/msgpack.app
+lib/erlang/lib/msgpack-%%VERSION%%/ebin/msgpack.beam
+lib/erlang/lib/msgpack-%%VERSION%%/ebin/msgpack_ext.beam
+lib/erlang/lib/msgpack-%%VERSION%%/ebin/msgpack_packer.beam
+lib/erlang/lib/msgpack-%%VERSION%%/ebin/msgpack_term.beam
+lib/erlang/lib/msgpack-%%VERSION%%/ebin/msgpack_unpacker.beam
+lib/erlang/lib/msgpack-%%VERSION%%/include/msgpack.hrl
+lib/erlang/lib/msgpack-%%VERSION%%/src/msgpack.app.src
+lib/erlang/lib/msgpack-%%VERSION%%/src/msgpack.app.src.bak
+lib/erlang/lib/msgpack-%%VERSION%%/src/msgpack.app.src.orig
+lib/erlang/lib/msgpack-%%VERSION%%/src/msgpack.erl
+lib/erlang/lib/msgpack-%%VERSION%%/src/msgpack_ext.erl
+lib/erlang/lib/msgpack-%%VERSION%%/src/msgpack_packer.erl
+lib/erlang/lib/msgpack-%%VERSION%%/src/msgpack_term.erl
+lib/erlang/lib/msgpack-%%VERSION%%/src/msgpack_unpacker.erl
+%%PORTDOCS%%%%DOCSDIR%%/README.md



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