From 35dbd00b34d0dabcce961848cbfd466a8889e17d Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Tue, 4 Feb 2003 11:26:04 +0000 Subject: New port: Cache::Mmap This module provides a shared cache, using a memory mapped file. Very useful for mod_perl applications. If routines are provided which interact with the underlying data, access to the cache is completely transparent, and the module handles all the details of refreshing cache contents, and updating underlying data, if necessary. PR: ports/47465 Submitted by: Erwin Lansing --- devel/Makefile | 1 + devel/p5-Cache-Mmap/Makefile | 25 +++++++++++++++++++++++++ devel/p5-Cache-Mmap/distinfo | 1 + devel/p5-Cache-Mmap/pkg-comment | 1 + devel/p5-Cache-Mmap/pkg-descr | 7 +++++++ devel/p5-Cache-Mmap/pkg-plist | 7 +++++++ 6 files changed, 42 insertions(+) create mode 100644 devel/p5-Cache-Mmap/Makefile create mode 100644 devel/p5-Cache-Mmap/distinfo create mode 100644 devel/p5-Cache-Mmap/pkg-comment create mode 100644 devel/p5-Cache-Mmap/pkg-descr create mode 100644 devel/p5-Cache-Mmap/pkg-plist diff --git a/devel/Makefile b/devel/Makefile index 6a0ecd261eee..3e1bf374b93b 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -433,6 +433,7 @@ SUBDIR += p5-BSD-stat SUBDIR += p5-C-Scan SUBDIR += p5-Cache-Cache + SUBDIR += p5-Cache-Mmap SUBDIR += p5-Carp-Assert SUBDIR += p5-Carp-Datum SUBDIR += p5-Cdk diff --git a/devel/p5-Cache-Mmap/Makefile b/devel/p5-Cache-Mmap/Makefile new file mode 100644 index 000000000000..ee5fe4616bf3 --- /dev/null +++ b/devel/p5-Cache-Mmap/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: p5-Cache-Mmap +# Date created: January 25th 2003 +# Whom: Erwin Lansing +# +# $FreeBSD$ +# + +PORTNAME= Cache-Mmap +PORTVERSION= 0.05 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Cache +PKGNAMEPREFIX= p5- + +MAINTAINER= erwin@lansing.dk + +BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} +MAN3= Cache::Mmap.3 + +.include diff --git a/devel/p5-Cache-Mmap/distinfo b/devel/p5-Cache-Mmap/distinfo new file mode 100644 index 000000000000..ac8689159cfd --- /dev/null +++ b/devel/p5-Cache-Mmap/distinfo @@ -0,0 +1 @@ +MD5 (Cache-Mmap-0.05.tar.gz) = 9b402dd02f6a15e4b98a23a344cd15a1 diff --git a/devel/p5-Cache-Mmap/pkg-comment b/devel/p5-Cache-Mmap/pkg-comment new file mode 100644 index 000000000000..54620cced8d0 --- /dev/null +++ b/devel/p5-Cache-Mmap/pkg-comment @@ -0,0 +1 @@ +Cache::Mmap - Shared data cache using memory mapped files diff --git a/devel/p5-Cache-Mmap/pkg-descr b/devel/p5-Cache-Mmap/pkg-descr new file mode 100644 index 000000000000..b45594838509 --- /dev/null +++ b/devel/p5-Cache-Mmap/pkg-descr @@ -0,0 +1,7 @@ +This module provides a shared cache, using a memory mapped file. Very useful +for mod_perl applications. If routines are provided which interact with the +underlying data, access to the cache is completely transparent, and the module +handles all the details of refreshing cache contents, and updating underlying +data, if necessary. + +WWW: http://search.cpan.org/dist/Cache-Mmap/ diff --git a/devel/p5-Cache-Mmap/pkg-plist b/devel/p5-Cache-Mmap/pkg-plist new file mode 100644 index 000000000000..d2d07423be3c --- /dev/null +++ b/devel/p5-Cache-Mmap/pkg-plist @@ -0,0 +1,7 @@ +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Cache/Mmap/Mmap.so +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Cache/Mmap/Mmap.bs +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Cache/Mmap/.packlist +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Cache/Mmap.pm +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Cache/Mmap +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Cache 2>/dev/null || true +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Cache 2>/dev/null || true -- cgit v1.2.3