aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/hiredis/Makefile27
-rw-r--r--databases/hiredis/distinfo2
-rw-r--r--databases/hiredis/pkg-descr19
-rw-r--r--databases/hiredis/pkg-plist9
5 files changed, 58 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 82e64d581ca8..45ba80e2912e 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -113,6 +113,7 @@
SUBDIR += grass
SUBDIR += gtksql
SUBDIR += hamsterdb
+ SUBDIR += hiredis
SUBDIR += hk_classes
SUBDIR += hsqldb
SUBDIR += hypertable
diff --git a/databases/hiredis/Makefile b/databases/hiredis/Makefile
new file mode 100644
index 000000000000..570feb5d4b62
--- /dev/null
+++ b/databases/hiredis/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: hiredis
+# Date created: 29 December 2010
+# Whom: Grzegorz Blach <magik@roorback.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= hiredis
+DISTVERSION= 0.9.2
+CATEGORIES= databases
+MASTER_SITES= https://github.com/antirez/hiredis/tarball/v${DISTVERSION}/
+DISTNAME= antirez-${PORTNAME}-v${DISTVERSION}-0-g${GITVERSION}
+
+MAINTAINER= magik@roorback.net
+COMMENT= Minimalistic C client library for the Redis database
+
+LICENSE= BSD
+
+GITVERSION= 0fbfa45
+FETCH_ARGS= -pRr
+WRKSRC= ${WRKDIR}/antirez-${PORTNAME}-${GITVERSION}
+
+USE_GMAKE= yes
+CFLAGS+= -fPIC
+USE_LDCONFIG= yes
+
+.include <bsd.port.mk>
diff --git a/databases/hiredis/distinfo b/databases/hiredis/distinfo
new file mode 100644
index 000000000000..ce5bd6c61804
--- /dev/null
+++ b/databases/hiredis/distinfo
@@ -0,0 +1,2 @@
+SHA256 (antirez-hiredis-v0.9.2-0-g0fbfa45.tar.gz) = 02cf8653bb1afa8e56545103e00b4d7cd64bc34db6cae44465bde9919e420b4d
+SIZE (antirez-hiredis-v0.9.2-0-g0fbfa45.tar.gz) = 29669
diff --git a/databases/hiredis/pkg-descr b/databases/hiredis/pkg-descr
new file mode 100644
index 000000000000..f261840c7f4d
--- /dev/null
+++ b/databases/hiredis/pkg-descr
@@ -0,0 +1,19 @@
+Hiredis is a minimalistic C client library for the Redis database.
+
+It is minimalistic because it just adds minimal support for the protocol,
+but at the same time it uses an high level printf-alike API in order to make
+it much higher level than otherwise suggested by its minimal code base and
+the lack of explicit bindings for every Redis command.
+
+Apart from supporting sending commands and receiving replies, it comes with
+a reply parser that is decoupled from the I/O layer. It is a stream parser
+designed for easy reusability, which can for instance be used in higher
+level language bindings for efficient reply parsing.
+
+Hiredis only supports the binary-safe Redis protocol, so you can use it with
+any Redis version >= 1.2.0.
+
+The library comes with multiple APIs. There is the synchronous API, the
+asynchronous API and the reply parsing API.
+
+WWW: https://github.com/antirez/hiredis
diff --git a/databases/hiredis/pkg-plist b/databases/hiredis/pkg-plist
new file mode 100644
index 000000000000..fb9cb33dceed
--- /dev/null
+++ b/databases/hiredis/pkg-plist
@@ -0,0 +1,9 @@
+include/hiredis/async.h
+include/hiredis/hiredis.h
+include/hiredis/adapters/ae.h
+include/hiredis/adapters/libev.h
+include/hiredis/adapters/libevent.h
+lib/libhiredis.a
+lib/libhiredis.so
+@dirrm include/hiredis/adapters
+@dirrm include/hiredis