diff options
author | olgeni <olgeni@FreeBSD.org> | 2015-05-06 04:39:44 +0800 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2015-05-06 04:39:44 +0800 |
commit | de3769d5a4b0edfaeaccfca906b20ccf43a9b3a3 (patch) | |
tree | ad5d2296f0293178d011176790aaf856d4d73753 | |
parent | b7c80b924e23c2eb76ecf48783fca38c1b8564cd (diff) | |
download | freebsd-ports-gnome-de3769d5a4b0edfaeaccfca906b20ccf43a9b3a3.tar.gz freebsd-ports-gnome-de3769d5a4b0edfaeaccfca906b20ccf43a9b3a3.tar.zst freebsd-ports-gnome-de3769d5a4b0edfaeaccfca906b20ccf43a9b3a3.zip |
Add databases/eredis, a Redis client for Erlang.
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/eredis/Makefile | 40 | ||||
-rw-r--r-- | databases/eredis/distinfo | 2 | ||||
-rw-r--r-- | databases/eredis/pkg-descr | 12 | ||||
-rw-r--r-- | databases/eredis/pkg-plist | 17 |
5 files changed, 72 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile index 034c13b49598..e6a0386c99bd 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -51,6 +51,7 @@ SUBDIR += dbview SUBDIR += emma SUBDIR += epgsql + SUBDIR += eredis SUBDIR += erlang-mysql SUBDIR += evolution-data-server SUBDIR += fastdb diff --git a/databases/eredis/Makefile b/databases/eredis/Makefile new file mode 100644 index 000000000000..9d70fbd8ae0a --- /dev/null +++ b/databases/eredis/Makefile @@ -0,0 +1,40 @@ +# $FreeBSD$ + +PORTNAME= eredis +PORTVERSION= 1.0.7 +CATEGORIES= databases + +MAINTAINER= olgeni@FreeBSD.org +COMMENT= Non-blocking Redis client for Erlang + +LICENSE= MIT + +BUILD_DEPENDS= erlc:${PORTSDIR}/lang/erlang +RUN_DEPENDS= erl:${PORTSDIR}/lang/erlang + +PLIST_SUB= VERSION="${PORTVERSION}" + +USES= gmake +USE_GITHUB= yes +GH_ACCOUNT= wooga +GH_PROJECT= eredis +GH_TAGNAME= v${PORTVERSION} + +OPTIONS_DEFINE= DOCS + +.include <bsd.port.options.mk> + +do-install: +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} +.endif + @${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}/include/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/include + ${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/src + +.include <bsd.port.mk> diff --git a/databases/eredis/distinfo b/databases/eredis/distinfo new file mode 100644 index 000000000000..45ed45d30d33 --- /dev/null +++ b/databases/eredis/distinfo @@ -0,0 +1,2 @@ +SHA256 (wooga-eredis-1.0.7-v1.0.7_GH0.tar.gz) = b5f1382250ab8cdf80ee0df80890a2acc0bfdad2ff06c8ea3bd474542cdde9cc +SIZE (wooga-eredis-1.0.7-v1.0.7_GH0.tar.gz) = 124973 diff --git a/databases/eredis/pkg-descr b/databases/eredis/pkg-descr new file mode 100644 index 000000000000..74335b50267c --- /dev/null +++ b/databases/eredis/pkg-descr @@ -0,0 +1,12 @@ +Non-blocking Redis client for Erlang with focus on performance and +robustness. + +Supported Redis features: + + - Any command, through eredis:q/2 + - Transactions + - Pipelining + - Authentication & multiple dbs + - Pubsub + +WWW: https://github.com/wooga/eredis diff --git a/databases/eredis/pkg-plist b/databases/eredis/pkg-plist new file mode 100644 index 000000000000..1dde4c42e9bd --- /dev/null +++ b/databases/eredis/pkg-plist @@ -0,0 +1,17 @@ +lib/erlang/lib/eredis-%%VERSION%%/ebin/eredis.app +lib/erlang/lib/eredis-%%VERSION%%/ebin/eredis.beam +lib/erlang/lib/eredis-%%VERSION%%/ebin/eredis_client.beam +lib/erlang/lib/eredis-%%VERSION%%/ebin/eredis_parser.beam +lib/erlang/lib/eredis-%%VERSION%%/ebin/eredis_sub.beam +lib/erlang/lib/eredis-%%VERSION%%/ebin/eredis_sub_client.beam +lib/erlang/lib/eredis-%%VERSION%%/include/eredis.hrl +lib/erlang/lib/eredis-%%VERSION%%/include/eredis_sub.hrl +lib/erlang/lib/eredis-%%VERSION%%/src/basho_bench_driver_eredis.erl +lib/erlang/lib/eredis-%%VERSION%%/src/basho_bench_driver_erldis.erl +lib/erlang/lib/eredis-%%VERSION%%/src/eredis.app.src +lib/erlang/lib/eredis-%%VERSION%%/src/eredis.erl +lib/erlang/lib/eredis-%%VERSION%%/src/eredis_client.erl +lib/erlang/lib/eredis-%%VERSION%%/src/eredis_parser.erl +lib/erlang/lib/eredis-%%VERSION%%/src/eredis_sub.erl +lib/erlang/lib/eredis-%%VERSION%%/src/eredis_sub_client.erl +%%PORTDOCS%%%%DOCSDIR%%/README.md |