summaryrefslogtreecommitdiff
path: root/databases/rubygem-hiredis
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/rubygem-hiredis
parentdevel/rubygem-guess_html_encoding: create port (diff)
databases/rubygem-hiredis: create port
Ruby wrapper for hiredis (protocol serialization/deserialization and blocking I/O) WWW: http://github.com/redis/hiredis-rb
Notes
Notes: svn path=/head/; revision=370137
Diffstat (limited to 'databases/rubygem-hiredis')
-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
4 files changed, 39 insertions, 0 deletions
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