summaryrefslogtreecommitdiff
path: root/devel/p5-Cache
diff options
context:
space:
mode:
authorabs <abs>2007-02-06 18:50:07 +0000
committerabs <abs>2007-02-06 18:50:07 +0000
commit1ca2255fd03b673f944a50e86ca392fce2cf04a7 (patch)
treece52f0f631df19512561e43c20c171e4c7bbddd3 /devel/p5-Cache
parent52645ee03d96e5afc0a5e9569a75654996deb3ca (diff)
downloadpkgsrc-1ca2255fd03b673f944a50e86ca392fce2cf04a7.tar.gz
Import p5-Cache into pkgsrc:
The Cache modules are designed to assist a developer in persisting data for a specified period of time. Often these modules are used in web applications to store data locally to save repeated and redundant expensive calls to remote machines or databases. The Cache interface is implemented by derived classes that store cached data in different manners (such as as files on a filesystem, or in memory). To use the Cache system, a cache implementation must be chosen to suit your needs. The most common is Cache::File, which is suitable for sharing data between multiple invocations and even between concurrent processes.
Diffstat (limited to 'devel/p5-Cache')
-rw-r--r--devel/p5-Cache/DESCR13
-rw-r--r--devel/p5-Cache/Makefile26
-rw-r--r--devel/p5-Cache/PLIST1
-rw-r--r--devel/p5-Cache/distinfo5
4 files changed, 45 insertions, 0 deletions
diff --git a/devel/p5-Cache/DESCR b/devel/p5-Cache/DESCR
new file mode 100644
index 00000000000..7c8eaeb7333
--- /dev/null
+++ b/devel/p5-Cache/DESCR
@@ -0,0 +1,13 @@
+The Cache modules are designed to assist a developer in persisting
+data for a specified period of time. Often these modules are used
+in web applications to store data locally to save repeated and
+redundant expensive calls to remote machines or databases.
+
+The Cache interface is implemented by derived classes that store
+cached data in different manners (such as as files on a filesystem,
+or in memory).
+
+To use the Cache system, a cache implementation must be chosen to
+suit your needs. The most common is Cache::File, which is suitable
+for sharing data between multiple invocations and even between
+concurrent processes.
diff --git a/devel/p5-Cache/Makefile b/devel/p5-Cache/Makefile
new file mode 100644
index 00000000000..e26ac5c8446
--- /dev/null
+++ b/devel/p5-Cache/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/02/06 18:50:07 abs Exp $
+#
+
+DISTNAME= Cache-2.04
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Cache/} \
+ ${MASTER_SITE_SOURCEFORGE:=perl-cache/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://perl-cache.sourceforge.net/
+COMMENT= The Cache interface
+
+DEPENDS+= p5-File-NFSLock>=1.20:../../devel/p5-File-NFSLock
+DEPENDS+= p5-Heap>=0.01:../../devel/p5-Heap
+DEPENDS+= p5-IO-String>=1.02:../../devel/p5-IO-String
+DEPENDS+= p5-Storable>=1.00:../../devel/p5-Storable
+DEPENDS+= p5-TimeDate>=1.00:../../time/p5-TimeDate
+DEPENDS+= security/p5-Digest-SHA1>=2.01:../../security/p5-Digest-SHA1
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+PERL5_PACKLIST= auto/Cache/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p5-Cache/PLIST b/devel/p5-Cache/PLIST
new file mode 100644
index 00000000000..427bd1f4c1d
--- /dev/null
+++ b/devel/p5-Cache/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/02/06 18:50:07 abs Exp $
diff --git a/devel/p5-Cache/distinfo b/devel/p5-Cache/distinfo
new file mode 100644
index 00000000000..de2df863d3d
--- /dev/null
+++ b/devel/p5-Cache/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/02/06 18:50:07 abs Exp $
+
+SHA1 (Cache-2.04.tar.gz) = 3eafae74877f2c9a96f1c0c574640fda7089f8b0
+RMD160 (Cache-2.04.tar.gz) = cc8faec9b0369888263705eed8a72334222365ae
+Size (Cache-2.04.tar.gz) = 34501 bytes