From 16acd8f56c99e2f9bd815866412a55b50f0969dd Mon Sep 17 00:00:00 2001 From: Cheng-Lung Sung Date: Sun, 23 Jul 2006 06:51:04 +0000 Subject: [PATCH] Add p5-Cache-BDB 0.04, an object caching wrapper around BerkeleyDB. PR: ports/100711 Submitted by: Gea-Suan Lin --- databases/Makefile | 1 + databases/p5-Cache-BDB/Makefile | 30 ++++++++++++++++++++++++++++++ databases/p5-Cache-BDB/distinfo | 3 +++ databases/p5-Cache-BDB/pkg-descr | 8 ++++++++ databases/p5-Cache-BDB/pkg-plist | 7 +++++++ 5 files changed, 49 insertions(+) create mode 100644 databases/p5-Cache-BDB/Makefile create mode 100644 databases/p5-Cache-BDB/distinfo create mode 100644 databases/p5-Cache-BDB/pkg-descr create mode 100644 databases/p5-Cache-BDB/pkg-plist diff --git a/databases/Makefile b/databases/Makefile index b11a7cd29f6d..b0122d0711ed 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -162,6 +162,7 @@ SUBDIR += p5-BerkeleyDB SUBDIR += p5-CDB_File SUBDIR += p5-CDB_File-Generator + SUBDIR += p5-Cache-BDB SUBDIR += p5-Cache-Memcached SUBDIR += p5-Cache-Memcached-Managed SUBDIR += p5-Class-DBI diff --git a/databases/p5-Cache-BDB/Makefile b/databases/p5-Cache-BDB/Makefile new file mode 100644 index 000000000000..7de09975c44e --- /dev/null +++ b/databases/p5-Cache-BDB/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: p5-Cache-BDB +# Date created: 2006-07-22 +# Whom: Gea-Suan Lin +# +# $FreeBSD$ +# + +PORTNAME= Cache-BDB +PORTVERSION= 0.04 +CATEGORIES= databases perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Cache +PKGNAMEPREFIX= p5- + +MAINTAINER= gslin@gslin.org +COMMENT= An object caching wrapper around BerkeleyDB + +RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/BerkeleyDB.pm:${PORTSDIR}/databases/p5-BerkeleyDB + +PERL_CONFIGURE= yes + +MAN3= Cache::BDB.3 + +.include + +.if ${PERL_LEVEL} < 500700 +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable +.endif + +.include diff --git a/databases/p5-Cache-BDB/distinfo b/databases/p5-Cache-BDB/distinfo new file mode 100644 index 000000000000..b53284b6f81b --- /dev/null +++ b/databases/p5-Cache-BDB/distinfo @@ -0,0 +1,3 @@ +MD5 (Cache-BDB-0.04.tar.gz) = 34f2de75f4eeb43459e1ddc2682c4f27 +SHA256 (Cache-BDB-0.04.tar.gz) = 1cfe7c4fc3663bad1cd233447f042f01543c8161d3b4b56f03a835965474c049 +SIZE (Cache-BDB-0.04.tar.gz) = 16467 diff --git a/databases/p5-Cache-BDB/pkg-descr b/databases/p5-Cache-BDB/pkg-descr new file mode 100644 index 000000000000..0a5a259574b7 --- /dev/null +++ b/databases/p5-Cache-BDB/pkg-descr @@ -0,0 +1,8 @@ +This module implements a caching layer around BerkeleyDB for object +persistence. It implements the basic methods necessary to add, +retrieve, and remove objects. The main advantage over other caching +modules is performance. I've attempted to stick with a +Cache::Cache-like interface as much as possible, though it may differ +here and there. + +WWW: http://search.cpan.org/dist/Cache-BDB/ diff --git a/databases/p5-Cache-BDB/pkg-plist b/databases/p5-Cache-BDB/pkg-plist new file mode 100644 index 000000000000..5666f5ad0f26 --- /dev/null +++ b/databases/p5-Cache-BDB/pkg-plist @@ -0,0 +1,7 @@ +@comment $FreeBSD$ +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Cache/BDB/.packlist +%%SITE_PERL%%/Cache/BDB.pm +%%SITE_PERL%%/Cache/BDB.pod +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Cache/BDB +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Cache +@dirrmtry %%SITE_PERL%%/Cache