aboutsummaryrefslogtreecommitdiff
path: root/databases/erlang-eredis
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2015-07-06 22:34:11 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2015-07-06 22:34:11 +0000
commit37893c2bae470a4676caf15fe598c2299f989b56 (patch)
tree3e29cba43e97a56867bc38f2a6f4fec18fcc241a /databases/erlang-eredis
parenta0b3668460499425f5779bcd059f7ac0ef42e65c (diff)
downloadports-37893c2bae470a4676caf15fe598c2299f989b56.tar.gz
ports-37893c2bae470a4676caf15fe598c2299f989b56.zip
Notes
Diffstat (limited to 'databases/erlang-eredis')
-rw-r--r--databases/erlang-eredis/Makefile22
-rw-r--r--databases/erlang-eredis/pkg-plist5
2 files changed, 8 insertions, 19 deletions
diff --git a/databases/erlang-eredis/Makefile b/databases/erlang-eredis/Makefile
index 863e4efdde68..63f9f5d0fc28 100644
--- a/databases/erlang-eredis/Makefile
+++ b/databases/erlang-eredis/Makefile
@@ -2,8 +2,8 @@
PORTNAME= eredis
PORTVERSION= 1.0.8
-PORTREVISION= 1
-DISTVERSIONPREFIX=v
+DISTVERSIONPREFIX= v
+PORTREVISION= 2
CATEGORIES= databases
PKGNAMEPREFIX= erlang-
@@ -12,24 +12,8 @@ COMMENT= Non-blocking Redis client for Erlang
LICENSE= MIT
-BUILD_DEPENDS= erlc:${PORTSDIR}/lang/erlang
-RUN_DEPENDS:= ${BUILD_DEPENDS}
-
-PLIST_SUB= VERSION="${PORTVERSION}"
-
-USES= gmake
+USES= erlang:rebar
USE_GITHUB= yes
GH_ACCOUNT= wooga
-do-install:
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README.md ${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}/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/erlang-eredis/pkg-plist b/databases/erlang-eredis/pkg-plist
index 1dde4c42e9bd..222ab72d4e5a 100644
--- a/databases/erlang-eredis/pkg-plist
+++ b/databases/erlang-eredis/pkg-plist
@@ -1,3 +1,5 @@
+lib/erlang/lib/eredis-%%VERSION%%/ebin/basho_bench_driver_eredis.beam
+lib/erlang/lib/eredis-%%VERSION%%/ebin/basho_bench_driver_erldis.beam
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
@@ -6,6 +8,9 @@ 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%%/priv/basho_bench_eredis.config
+lib/erlang/lib/eredis-%%VERSION%%/priv/basho_bench_eredis_pipeline.config
+lib/erlang/lib/eredis-%%VERSION%%/priv/basho_bench_erldis.config
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