summaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2004-12-25 20:05:07 +0000
committerknu <knu@FreeBSD.org>2004-12-25 20:05:07 +0000
commit5105093278455160ea858861e8e7558d2d04672b (patch)
tree343da9a3d0940071dec9025170e7ce3289fa2883 /databases
parent1bada54b2724762505ebdb9c276d1814940bfa51 (diff)
downloadFreeBSD-ports-5105093278455160ea858861e8e7558d2d04672b.zip
FreeBSD-ports-5105093278455160ea858861e8e7558d2d04672b.tar.gz
Add ruby-memcache, a memcached client library for Ruby.
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/ruby-memcache/Makefile34
-rw-r--r--databases/ruby-memcache/distinfo2
-rw-r--r--databases/ruby-memcache/pkg-descr10
-rw-r--r--databases/ruby-memcache/pkg-plist3
5 files changed, 50 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 599360a..20e386e 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -313,6 +313,7 @@
SUBDIR += ruby-gdbm
SUBDIR += ruby-interbase
SUBDIR += ruby-libgda
+ SUBDIR += ruby-memcache
SUBDIR += ruby-msql
SUBDIR += ruby-mysql
SUBDIR += ruby-o_dbm
diff --git a/databases/ruby-memcache/Makefile b/databases/ruby-memcache/Makefile
new file mode 100644
index 0000000..efda8de
--- /dev/null
+++ b/databases/ruby-memcache/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: Ruby/memcache
+# Date created: 26 December 2004
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= memcache
+PORTVERSION= 0.0.2
+CATEGORIES= databases ruby
+MASTER_SITES= http://www.deveiate.org/code/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= Ruby-MemCache-${PORTVERSION}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+COMMENT= A memcached client library for Ruby
+
+USE_RUBY= yes
+
+NO_BUILD= yes
+
+DOCS= README
+
+do-install:
+ cd ${WRKSRC}; ${RUBY} install.rb
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_MODDOCDIR}
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/databases/ruby-memcache/distinfo b/databases/ruby-memcache/distinfo
new file mode 100644
index 0000000..1113490
--- /dev/null
+++ b/databases/ruby-memcache/distinfo
@@ -0,0 +1,2 @@
+MD5 (ruby/Ruby-MemCache-0.0.2.tar.gz) = 8f527df0e47fe69822b71c580bbc5506
+SIZE (ruby/Ruby-MemCache-0.0.2.tar.gz) = 31505
diff --git a/databases/ruby-memcache/pkg-descr b/databases/ruby-memcache/pkg-descr
new file mode 100644
index 0000000..8f44535
--- /dev/null
+++ b/databases/ruby-memcache/pkg-descr
@@ -0,0 +1,10 @@
+This is a client library for memcached (www.danga.com/memcached/), a
+high-performance distributed memory cache.
+
+MemCache is used to alleviate database load by caching oft-used values
+in network-accessable memory space, and is used behind several
+high-traffic dynamic web sites like LiveJournal, Slashdot, WikiPedia,
+and others.
+
+Author: Michael Granger <ged-raa@FaerieMUD.org>
+WWW: http://www.deveiate.org/code/Ruby-MemCache.html
diff --git a/databases/ruby-memcache/pkg-plist b/databases/ruby-memcache/pkg-plist
new file mode 100644
index 0000000..adb75db
--- /dev/null
+++ b/databases/ruby-memcache/pkg-plist
@@ -0,0 +1,3 @@
+%%RUBY_SITELIBDIR%%/memcache.rb
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%
OpenPOWER on IntegriCloud