aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2014-10-06 02:41:57 +0000
committerSteve Wills <swills@FreeBSD.org>2014-10-06 02:41:57 +0000
commit2dd463a4bda37fa46d49e072c81a78045b128453 (patch)
tree33c22a96e3b8ad23b48285ca23ec0fb2287b4e9a /databases
parent7d5d54f9bfead80516a6b4fea00fe7f1c2629e36 (diff)
downloadports-2dd463a4bda37fa46d49e072c81a78045b128453.tar.gz
ports-2dd463a4bda37fa46d49e072c81a78045b128453.zip
Notes
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/rubygem-hiredis/Makefile20
-rw-r--r--databases/rubygem-hiredis/distinfo2
-rw-r--r--databases/rubygem-hiredis/files/patch-vendor__hiredis__Makefile13
-rw-r--r--databases/rubygem-hiredis/pkg-descr4
5 files changed, 40 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 286f55dc1f1e..0b5fd9963df3 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -862,6 +862,7 @@
SUBDIR += rubygem-do_postgres
SUBDIR += rubygem-do_sqlite3
SUBDIR += rubygem-familia
+ SUBDIR += rubygem-hiredis
SUBDIR += rubygem-jdbc-mysql
SUBDIR += rubygem-leo_manager_client
SUBDIR += rubygem-memcache
diff --git a/databases/rubygem-hiredis/Makefile b/databases/rubygem-hiredis/Makefile
new file mode 100644
index 000000000000..b9eb467a1f08
--- /dev/null
+++ b/databases/rubygem-hiredis/Makefile
@@ -0,0 +1,20 @@
+# Created by: Steve Wills <swills@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= hiredis
+PORTVERSION= 0.5.2
+CATEGORIES= databases rubygems
+MASTER_SITES= RG
+
+MAINTAINER= ruby@FreeBSD.org
+COMMENT= Ruby wrapper for hiredis
+
+RUN_DEPENDS= redis>=0:${PORTSDIR}/databases/redis
+
+USES= gmake
+USE_RUBY= yes
+USE_RAKE= yes
+USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST=yes
+
+.include <bsd.port.mk>
diff --git a/databases/rubygem-hiredis/distinfo b/databases/rubygem-hiredis/distinfo
new file mode 100644
index 000000000000..2e43e5af6c6e
--- /dev/null
+++ b/databases/rubygem-hiredis/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rubygem/hiredis-0.5.2.gem) = 41e5fedb4f68a6402c128d10753b374daa40273253622c6bf9baf4cc6784ca94
+SIZE (rubygem/hiredis-0.5.2.gem) = 47104
diff --git a/databases/rubygem-hiredis/files/patch-vendor__hiredis__Makefile b/databases/rubygem-hiredis/files/patch-vendor__hiredis__Makefile
new file mode 100644
index 000000000000..ab60d206041f
--- /dev/null
+++ b/databases/rubygem-hiredis/files/patch-vendor__hiredis__Makefile
@@ -0,0 +1,13 @@
+--- vendor/hiredis/Makefile.orig 2014-10-06 02:34:35 UTC
++++ vendor/hiredis/Makefile
+@@ -15,8 +15,8 @@
+ OPTIMIZATION?=-O3
+ WARNINGS=-Wall -W -Wstrict-prototypes -Wwrite-strings
+ DEBUG?= -g -ggdb
+-REAL_CFLAGS=$(OPTIMIZATION) -fPIC $(CFLAGS) $(WARNINGS) $(DEBUG) $(ARCH)
+-REAL_LDFLAGS=$(LDFLAGS) $(ARCH)
++REAL_CFLAGS=$(OPTIMIZATION) -fPIC $(CFLAGS) $(WARNINGS) $(DEBUG)
++REAL_LDFLAGS=$(LDFLAGS)
+
+ DYLIBSUFFIX=so
+ STLIBSUFFIX=a
diff --git a/databases/rubygem-hiredis/pkg-descr b/databases/rubygem-hiredis/pkg-descr
new file mode 100644
index 000000000000..54404d1e7d54
--- /dev/null
+++ b/databases/rubygem-hiredis/pkg-descr
@@ -0,0 +1,4 @@
+Ruby wrapper for hiredis (protocol serialization/deserialization and blocking
+I/O)
+
+WWW: http://github.com/redis/hiredis-rb