aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-04-16 16:11:42 +0800
committerkrion <krion@FreeBSD.org>2004-04-16 16:11:42 +0800
commit27b243eb28eedb2570c492aa87e7734bd886cc16 (patch)
tree4b8a85742194df2eb331c987d1b198f21b574241 /databases
parentedaec33cec2ba941890b7fe10ff5b837882351bc (diff)
downloadfreebsd-ports-gnome-27b243eb28eedb2570c492aa87e7734bd886cc16.tar.gz
freebsd-ports-gnome-27b243eb28eedb2570c492aa87e7734bd886cc16.tar.zst
freebsd-ports-gnome-27b243eb28eedb2570c492aa87e7734bd886cc16.zip
Add p5-Cache-Memcached 1.0.12, perl API for memcached, a distributed
memory cache daemon. PR: ports/65600 Submitted by: michael johnson <ahze@ahze.net>
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/p5-Cache-Memcached/Makefile38
-rw-r--r--databases/p5-Cache-Memcached/distinfo2
-rw-r--r--databases/p5-Cache-Memcached/pkg-descr6
-rw-r--r--databases/p5-Cache-Memcached/pkg-plist5
5 files changed, 52 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 141a3911b54c..e0882e6876ff 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -112,6 +112,7 @@
SUBDIR += p5-BerkeleyDB
SUBDIR += p5-CDB_File
SUBDIR += p5-CDB_File-Generator
+ SUBDIR += p5-Cache-Memcached
SUBDIR += p5-Class-DBI
SUBDIR += p5-Class-DBI-AbstractSearch
SUBDIR += p5-Class-DBI-AsForm
diff --git a/databases/p5-Cache-Memcached/Makefile b/databases/p5-Cache-Memcached/Makefile
new file mode 100644
index 000000000000..9ac5c0896100
--- /dev/null
+++ b/databases/p5-Cache-Memcached/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: p5-Cache-Memcached
+# Date created: 2004-04-15
+# Whom: michael johnson <ahze@ahze.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Cache-Memcached
+PORTVERSION= 1.0.12
+CATEGORIES= databases
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \
+ http://www.danga.com/memcached/dist/
+MASTER_SITE_SUBDIR= Cache
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= ahze@ahze.net
+COMMENT= Perl API for memcached, a distributed memory cache daemon
+
+RUN_DEPENDS= memcached:${PORTSDIR}/databases/memcached
+
+PERL_CONFIGURE= yes
+
+MAN3= Cache::Memcached.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} <= 500600
+BUILD_DEPENDS+= \
+ ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable
+RUN_DEPENDS+= \
+ ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable
+.endif
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= "Perl 5.6 or newer required."
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/databases/p5-Cache-Memcached/distinfo b/databases/p5-Cache-Memcached/distinfo
new file mode 100644
index 000000000000..f69529de42b3
--- /dev/null
+++ b/databases/p5-Cache-Memcached/distinfo
@@ -0,0 +1,2 @@
+MD5 (Cache-Memcached-1.0.12.tar.gz) = c2a5c93fdcdb2311cfe170815f18af93
+SIZE (Cache-Memcached-1.0.12.tar.gz) = 11006
diff --git a/databases/p5-Cache-Memcached/pkg-descr b/databases/p5-Cache-Memcached/pkg-descr
new file mode 100644
index 000000000000..ba3faf54bca0
--- /dev/null
+++ b/databases/p5-Cache-Memcached/pkg-descr
@@ -0,0 +1,6 @@
+The API takes advantage of the server's opaque flag support and sets its
+"complex" flag whenever the object being stored or retrieved isn't a plain
+scalar. In that case, the Storable module is used to freeze and thaw the
+value automatically going in and out of the memcached.
+
+WWW: http://www.danga.com/memcached/apis.bml
diff --git a/databases/p5-Cache-Memcached/pkg-plist b/databases/p5-Cache-Memcached/pkg-plist
new file mode 100644
index 000000000000..99d450804e86
--- /dev/null
+++ b/databases/p5-Cache-Memcached/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/Cache/Memcached.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Cache/Memcached/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Cache/Memcached
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Cache 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Cache 2>/dev/null || true