diff options
author | skv <skv@FreeBSD.org> | 2004-01-25 22:39:42 +0800 |
---|---|---|
committer | skv <skv@FreeBSD.org> | 2004-01-25 22:39:42 +0800 |
commit | 005d87a320c990d160e58071d3f338ce7c2c6680 (patch) | |
tree | d6a9dfd68683b40073e1571b5b2546c2d78fa378 /devel/p5-Cache-FastMmap | |
parent | e77f94c7582705793069be0ee21f4a64d3de9e23 (diff) | |
download | freebsd-ports-gnome-005d87a320c990d160e58071d3f338ce7c2c6680.tar.gz freebsd-ports-gnome-005d87a320c990d160e58071d3f338ce7c2c6680.tar.zst freebsd-ports-gnome-005d87a320c990d160e58071d3f338ce7c2c6680.zip |
Add p5-Cache-FastMmap 1.03,
uses an mmap'ed file to act as a shared
memory interprocess cache.
Diffstat (limited to 'devel/p5-Cache-FastMmap')
-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 |
4 files changed, 45 insertions, 0 deletions
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 |