Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Jun 2015 15:37:04 +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: r388366 - in head/devel: . erlang-gproc erlang-gproc/files
Message-ID:  <201506021537.t52Fb40B083539@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olgeni
Date: Tue Jun  2 15:37:04 2015
New Revision: 388366
URL: https://svnweb.freebsd.org/changeset/ports/388366

Log:
  Add devel/erlang-gproc, a process dictionary for Erlang.

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

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Tue Jun  2 15:25:43 2015	(r388365)
+++ head/devel/Makefile	Tue Jun  2 15:37:04 2015	(r388366)
@@ -414,6 +414,7 @@
     SUBDIR += erlang-gen_leader
     SUBDIR += erlang-gen_smtp
     SUBDIR += erlang-getopt
+    SUBDIR += erlang-gproc
     SUBDIR += erlang-ibrowse
     SUBDIR += erlang-msgpack
     SUBDIR += erlang-mustache

Added: head/devel/erlang-gproc/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/erlang-gproc/Makefile	Tue Jun  2 15:37:04 2015	(r388366)
@@ -0,0 +1,44 @@
+# $FreeBSD$
+
+PORTNAME=	gproc
+PORTVERSION=	0.4
+CATEGORIES=	devel
+PKGNAMEPREFIX=	erlang-
+
+MAINTAINER=	olgeni@FreeBSD.org
+COMMENT=	Process dictionary for Erlang
+
+LICENSE=	ERLPL
+LICENSE_NAME=	Erlang Public License
+LICENSE_FILE=	${WRKSRC}/LICENSE
+LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
+BUILD_DEPENDS=	${LOCALBASE}/bin/erl:${PORTSDIR}/lang/erlang
+RUN_DEPENDS:=	${BUILD_DEPENDS}
+
+PLIST_SUB=	VERSION="${PORTVERSION}"
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	uwiger
+
+.include <bsd.port.options.mk>
+
+post-patch:
+	@${REINPLACE_CMD} -e "s/%%PORTVERSION%%/${PORTVERSION}/" ${WRKSRC}/src/gproc.app.src
+	@${RM} ${WRKSRC}/src/*.bak ${WRKSRC}/src/*.orig
+
+do-build:
+	@cd ${WRKSRC} && ./rebar compile
+
+do-install:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/ebin
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/include
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/src
+	${INSTALL_DATA} ${WRKSRC}/ebin/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/ebin
+	${INSTALL_DATA} ${WRKSRC}/ebin/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/include
+	${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/src
+
+.include <bsd.port.mk>

Added: head/devel/erlang-gproc/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/erlang-gproc/distinfo	Tue Jun  2 15:37:04 2015	(r388366)
@@ -0,0 +1,2 @@
+SHA256 (uwiger-gproc-0.4_GH0.tar.gz) = 520342d021f0ea3b74440c94719080a5a4bc6c2233572d9759d976aecdf2687c
+SIZE (uwiger-gproc-0.4_GH0.tar.gz) = 740388

Added: head/devel/erlang-gproc/files/patch-src_gproc.app.src
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/erlang-gproc/files/patch-src_gproc.app.src	Tue Jun  2 15:37:04 2015	(r388366)
@@ -0,0 +1,11 @@
+--- src/gproc.app.src.orig	2015-06-02 13:48:54 UTC
++++ src/gproc.app.src
+@@ -5,7 +5,7 @@
+ {application, gproc,
+  [
+   {description, "GPROC"},
+-  {vsn, git},
++  {vsn, "%%PORTVERSION%%"},
+   {id, "GPROC"},
+   {registered, [ ] },
+   {applications, [ kernel, stdlib ] },

Added: head/devel/erlang-gproc/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/erlang-gproc/pkg-descr	Tue Jun  2 15:37:04 2015	(r388366)
@@ -0,0 +1,4 @@
+Gproc is a process dictionary for Erlang, which provides a number of useful
+features beyond what the built-in dictionary has.
+
+WWW: https://github.com/uwiger/gproc

Added: head/devel/erlang-gproc/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/erlang-gproc/pkg-plist	Tue Jun  2 15:37:04 2015	(r388366)
@@ -0,0 +1,59 @@
+lib/erlang/lib/gproc-%%VERSION%%/ebin/gproc.app
+lib/erlang/lib/gproc-%%VERSION%%/ebin/gproc.beam
+lib/erlang/lib/gproc-%%VERSION%%/ebin/gproc_app.beam
+lib/erlang/lib/gproc-%%VERSION%%/ebin/gproc_bcast.beam
+lib/erlang/lib/gproc-%%VERSION%%/ebin/gproc_dist.beam
+lib/erlang/lib/gproc-%%VERSION%%/ebin/gproc_info.beam
+lib/erlang/lib/gproc-%%VERSION%%/ebin/gproc_init.beam
+lib/erlang/lib/gproc-%%VERSION%%/ebin/gproc_lib.beam
+lib/erlang/lib/gproc-%%VERSION%%/ebin/gproc_monitor.beam
+lib/erlang/lib/gproc-%%VERSION%%/ebin/gproc_pool.beam
+lib/erlang/lib/gproc-%%VERSION%%/ebin/gproc_ps.beam
+lib/erlang/lib/gproc-%%VERSION%%/ebin/gproc_pt.beam
+lib/erlang/lib/gproc-%%VERSION%%/ebin/gproc_sup.beam
+lib/erlang/lib/gproc-%%VERSION%%/include/gproc.app
+lib/erlang/lib/gproc-%%VERSION%%/include/gproc.beam
+lib/erlang/lib/gproc-%%VERSION%%/include/gproc_app.beam
+lib/erlang/lib/gproc-%%VERSION%%/include/gproc_bcast.beam
+lib/erlang/lib/gproc-%%VERSION%%/include/gproc_dist.beam
+lib/erlang/lib/gproc-%%VERSION%%/include/gproc_info.beam
+lib/erlang/lib/gproc-%%VERSION%%/include/gproc_init.beam
+lib/erlang/lib/gproc-%%VERSION%%/include/gproc_lib.beam
+lib/erlang/lib/gproc-%%VERSION%%/include/gproc_monitor.beam
+lib/erlang/lib/gproc-%%VERSION%%/include/gproc_pool.beam
+lib/erlang/lib/gproc-%%VERSION%%/include/gproc_ps.beam
+lib/erlang/lib/gproc-%%VERSION%%/include/gproc_pt.beam
+lib/erlang/lib/gproc-%%VERSION%%/include/gproc_sup.beam
+lib/erlang/lib/gproc-%%VERSION%%/src/Makefile
+lib/erlang/lib/gproc-%%VERSION%%/src/gproc.app.src
+lib/erlang/lib/gproc-%%VERSION%%/src/gproc.erl
+lib/erlang/lib/gproc-%%VERSION%%/src/gproc_app.erl
+lib/erlang/lib/gproc-%%VERSION%%/src/gproc_bcast.erl
+lib/erlang/lib/gproc-%%VERSION%%/src/gproc_dist.erl
+lib/erlang/lib/gproc-%%VERSION%%/src/gproc_info.erl
+lib/erlang/lib/gproc-%%VERSION%%/src/gproc_init.erl
+lib/erlang/lib/gproc-%%VERSION%%/src/gproc_int.hrl
+lib/erlang/lib/gproc-%%VERSION%%/src/gproc_lib.erl
+lib/erlang/lib/gproc-%%VERSION%%/src/gproc_monitor.erl
+lib/erlang/lib/gproc-%%VERSION%%/src/gproc_pool.erl
+lib/erlang/lib/gproc-%%VERSION%%/src/gproc_ps.erl
+lib/erlang/lib/gproc-%%VERSION%%/src/gproc_pt.erl
+lib/erlang/lib/gproc-%%VERSION%%/src/gproc_sup.erl
+%%PORTDOCS%%%%DOCSDIR%%/README.md
+%%PORTDOCS%%%%DOCSDIR%%/edoc-info
+%%PORTDOCS%%%%DOCSDIR%%/erlang.png
+%%PORTDOCS%%%%DOCSDIR%%/erlang07-wiger.pdf
+%%PORTDOCS%%%%DOCSDIR%%/gproc.md
+%%PORTDOCS%%%%DOCSDIR%%/gproc_app.md
+%%PORTDOCS%%%%DOCSDIR%%/gproc_bcast.md
+%%PORTDOCS%%%%DOCSDIR%%/gproc_dist.md
+%%PORTDOCS%%%%DOCSDIR%%/gproc_info.md
+%%PORTDOCS%%%%DOCSDIR%%/gproc_init.md
+%%PORTDOCS%%%%DOCSDIR%%/gproc_lib.md
+%%PORTDOCS%%%%DOCSDIR%%/gproc_monitor.md
+%%PORTDOCS%%%%DOCSDIR%%/gproc_pool.md
+%%PORTDOCS%%%%DOCSDIR%%/gproc_ps.md
+%%PORTDOCS%%%%DOCSDIR%%/gproc_pt.md
+%%PORTDOCS%%%%DOCSDIR%%/gproc_sup.md
+%%PORTDOCS%%%%DOCSDIR%%/overview.edoc
+%%PORTDOCS%%%%DOCSDIR%%/stylesheet.css



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