Commit 3303a42a authored by olgeni's avatar olgeni
Browse files

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

parent 2b12e37c
......@@ -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
......
# $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>
SHA256 (uwiger-gproc-0.4_GH0.tar.gz) = 520342d021f0ea3b74440c94719080a5a4bc6c2233572d9759d976aecdf2687c
SIZE (uwiger-gproc-0.4_GH0.tar.gz) = 740388
--- 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 ] },
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
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
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