diff options
author | Sergey Skvortsov <skv@FreeBSD.org> | 2004-01-25 14:39:42 +0000 |
---|---|---|
committer | Sergey Skvortsov <skv@FreeBSD.org> | 2004-01-25 14:39:42 +0000 |
commit | b9574a544656640ffe875245715b672a8f90c877 (patch) | |
tree | a65e868ca7bb915b2cf9a7df785d0157585ac389 /devel | |
parent | Use lthack, and install translations. (diff) |
Add p5-Cache-FastMmap 1.03,
uses an mmap'ed file to act as a shared
memory interprocess cache.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-Cache-FastMmap/Makefile | 25 | ||||
-rw-r--r-- | devel/p5-Cache-FastMmap/distinfo | 1 | ||||
-rw-r--r-- | devel/p5-Cache-FastMmap/pkg-descr | 9 | ||||
-rw-r--r-- | devel/p5-Cache-FastMmap/pkg-plist | 10 |
5 files changed, 46 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 9be97276808a..e979d32d7ccd 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -542,6 +542,7 @@ SUBDIR += p5-BSD-stat SUBDIR += p5-C-Scan SUBDIR += p5-Cache-Cache + SUBDIR += p5-Cache-FastMmap SUBDIR += p5-Cache-Mmap SUBDIR += p5-Calendar-Simple SUBDIR += p5-Carp-Assert diff --git a/devel/p5-Cache-FastMmap/Makefile b/devel/p5-Cache-FastMmap/Makefile new file mode 100644 index 000000000000..e9b246af7191 --- /dev/null +++ b/devel/p5-Cache-FastMmap/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: Cache-FastMmap +# Date created: 25 January 2004 +# Whom: Sergey Skvortsov <skv@protey.ru> +# +# $FreeBSD$ +# + +PORTNAME= Cache-FastMmap +PORTVERSION= 1.03 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Cache +PKGNAMEPREFIX= p5- + +MAINTAINER= skv@FreeBSD.org +COMMENT= Uses an mmap'ed file to act as a shared memory interprocess cache + +BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= Cache::FastMmap.3 Cache::FastMmap::CImpl.3 + +.include <bsd.port.mk> diff --git a/devel/p5-Cache-FastMmap/distinfo b/devel/p5-Cache-FastMmap/distinfo new file mode 100644 index 000000000000..54d15a1fbbe5 --- /dev/null +++ b/devel/p5-Cache-FastMmap/distinfo @@ -0,0 +1 @@ +MD5 (Cache-FastMmap-1.03.tar.gz) = eabd559492d065d8b1294ff95ae428f3 diff --git a/devel/p5-Cache-FastMmap/pkg-descr b/devel/p5-Cache-FastMmap/pkg-descr new file mode 100644 index 000000000000..e001b2f51e3c --- /dev/null +++ b/devel/p5-Cache-FastMmap/pkg-descr @@ -0,0 +1,9 @@ +A shared memory cache through an mmap'ed file. It's core is written in +C for performance. It uses fcntl locking to ensure multiple processes +can safely access the cache at the same time. It uses a basic LRU +algorithm to keep the most used entries in the cache. + +WWW: http://search.cpan.org/dist/Cache-FastMmap/ + +-- Sergey Skvortsov +skv@FreeBSD.org diff --git a/devel/p5-Cache-FastMmap/pkg-plist b/devel/p5-Cache-FastMmap/pkg-plist new file mode 100644 index 000000000000..6a8a5260ac9a --- /dev/null +++ b/devel/p5-Cache-FastMmap/pkg-plist @@ -0,0 +1,10 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Cache/FastMmap/.packlist +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Cache/FastMmap/CImpl/CImpl.bs +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Cache/FastMmap/CImpl/CImpl.so +%%SITE_PERL%%/%%PERL_ARCH%%/Cache/FastMmap.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Cache/FastMmap/CImpl.pm +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Cache/FastMmap +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Cache/FastMmap/CImpl +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Cache/FastMmap +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Cache 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Cache 2>/dev/null || true |