From 5105093278455160ea858861e8e7558d2d04672b Mon Sep 17 00:00:00 2001 From: knu Date: Sat, 25 Dec 2004 20:05:07 +0000 Subject: Add ruby-memcache, a memcached client library for Ruby. --- databases/Makefile | 1 + databases/ruby-memcache/Makefile | 34 ++++++++++++++++++++++++++++++++++ databases/ruby-memcache/distinfo | 2 ++ databases/ruby-memcache/pkg-descr | 10 ++++++++++ databases/ruby-memcache/pkg-plist | 3 +++ 5 files changed, 50 insertions(+) create mode 100644 databases/ruby-memcache/Makefile create mode 100644 databases/ruby-memcache/distinfo create mode 100644 databases/ruby-memcache/pkg-descr create mode 100644 databases/ruby-memcache/pkg-plist (limited to 'databases') 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 +# +# $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 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 +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%% -- cgit v1.1