mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-30 10:38:37 +00:00
Add devel/erlang-gproc, a process dictionary for Erlang.
This commit is contained in:
parent
ed0e1afb67
commit
fc93ac9de2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=388366
@ -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
|
||||
|
44
devel/erlang-gproc/Makefile
Normal file
44
devel/erlang-gproc/Makefile
Normal file
@ -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>
|
2
devel/erlang-gproc/distinfo
Normal file
2
devel/erlang-gproc/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (uwiger-gproc-0.4_GH0.tar.gz) = 520342d021f0ea3b74440c94719080a5a4bc6c2233572d9759d976aecdf2687c
|
||||
SIZE (uwiger-gproc-0.4_GH0.tar.gz) = 740388
|
11
devel/erlang-gproc/files/patch-src_gproc.app.src
Normal file
11
devel/erlang-gproc/files/patch-src_gproc.app.src
Normal file
@ -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 ] },
|
4
devel/erlang-gproc/pkg-descr
Normal file
4
devel/erlang-gproc/pkg-descr
Normal file
@ -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
|
59
devel/erlang-gproc/pkg-plist
Normal file
59
devel/erlang-gproc/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user