aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2010-04-06 05:44:57 +0800
committerdelphij <delphij@FreeBSD.org>2010-04-06 05:44:57 +0800
commitf119ee0d8f8b79c3871e41b0e11f538088ced794 (patch)
treed4a9f94a303c007279e81da2a79ee36c666850ba
parenta5d27178445a8a820435b10fe0882c86e2087b08 (diff)
downloadfreebsd-ports-gnome-f119ee0d8f8b79c3871e41b0e11f538088ced794.tar.gz
freebsd-ports-gnome-f119ee0d8f8b79c3871e41b0e11f538088ced794.tar.zst
freebsd-ports-gnome-f119ee0d8f8b79c3871e41b0e11f538088ced794.zip
Add beansdb 0.3.0, yet anonther distributed key-value storage system
from Douban Inc. PR: ports/145075 Submitted by: Qing Feng <qingfeng at me.com>
-rw-r--r--databases/Makefile1
-rw-r--r--databases/beansdb/Makefile32
-rw-r--r--databases/beansdb/distinfo3
-rw-r--r--databases/beansdb/pkg-descr6
4 files changed, 42 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 177056bf3c91..7538dac2887b 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -16,6 +16,7 @@
SUBDIR += aolserver-nspostgres
SUBDIR += autobackupmysql
SUBDIR += bbdb
+ SUBDIR += beansdb
SUBDIR += buzhug
SUBDIR += cassandra
SUBDIR += cdb
diff --git a/databases/beansdb/Makefile b/databases/beansdb/Makefile
new file mode 100644
index 000000000000..ecad773ed414
--- /dev/null
+++ b/databases/beansdb/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: beansdb
+# Date created: 2010-03-27
+# Whom: Qing Feng <qingfeng@me.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= beansdb
+PORTVERSION= 0.3.0
+CATEGORIES= databases
+MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+
+MAINTAINER= qingfeng@me.com
+COMMENT= Yet anonther distributed key-value storage system from Douban Inc
+
+BUILD_DEPENDS= tokyocabinet>=1.4.30:${PORTSDIR}/databases/tokyocabinet
+LIB_DEPENDS= tokyocabinet:${PORTSDIR}/databases/tokyocabinet
+
+GNU_CONFIGURE= yes
+USE_LDCONFIG= yes
+USE_GMAKE= yes
+
+MAN1= beansdb.1
+PLIST_FILES= bin/beansdb bin/convert
+
+post-patch:
+ ${REINPLACE_CMD} -e 's|#include <mcheck.h>||g' \
+ ${WRKSRC}/*.c
+ ${REINPLACE_CMD} -e 's|#include <mcheck.h>||g' \
+ ${WRKSRC}/tools/*.c
+
+.include <bsd.port.mk>
diff --git a/databases/beansdb/distinfo b/databases/beansdb/distinfo
new file mode 100644
index 000000000000..834364b14550
--- /dev/null
+++ b/databases/beansdb/distinfo
@@ -0,0 +1,3 @@
+MD5 (beansdb-0.3.0.tar.gz) = ff55f36753123578098ce16b0fd7d627
+SHA256 (beansdb-0.3.0.tar.gz) = 99eb3b14614ef74f9763690227ca0d22fe8742337e7cd56b46c6ac32aa9e61e7
+SIZE (beansdb-0.3.0.tar.gz) = 131510
diff --git a/databases/beansdb/pkg-descr b/databases/beansdb/pkg-descr
new file mode 100644
index 000000000000..67b20a285ab8
--- /dev/null
+++ b/databases/beansdb/pkg-descr
@@ -0,0 +1,6 @@
+BeansDB is a major amount of data for large, high-availability storage systems
+distributed KeyValue using HashTree and simplified version number to
+quickly synchronize to ensure consistency in the final (weak),
+a simplified version of the Dynamo.
+
+WWW: http://code.google.com/p/beansdb/