summaryrefslogtreecommitdiff
path: root/databases/p5-Cache-Memcached
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-04-16 08:11:42 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-04-16 08:11:42 +0000
commit0920ee7f9060e48d8f1557148dc8615e725f479c (patch)
treebb6172053e0d3da6b2bb732bb25b507618d9ae18 /databases/p5-Cache-Memcached
parent- Take over maintainership (diff)
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>
Notes
Notes: svn path=/head/; revision=107205
Diffstat (limited to 'databases/p5-Cache-Memcached')
-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
4 files changed, 51 insertions, 0 deletions
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