diff options
author | skv <skv@FreeBSD.org> | 2003-08-07 14:48:38 +0800 |
---|---|---|
committer | skv <skv@FreeBSD.org> | 2003-08-07 14:48:38 +0800 |
commit | 21fd1ddbae8d74a64b587a03f554901789dae03a (patch) | |
tree | e1845272263365f778c42f989ca6ae2a3dfb08e2 /devel/p5-Sys-Mmap | |
parent | 35f8817120ae17ee36fdc049e8679ac36dded4a5 (diff) | |
download | freebsd-ports-gnome-21fd1ddbae8d74a64b587a03f554901789dae03a.tar.gz freebsd-ports-gnome-21fd1ddbae8d74a64b587a03f554901789dae03a.tar.zst freebsd-ports-gnome-21fd1ddbae8d74a64b587a03f554901789dae03a.zip |
Add p5-Sys-Mmap 0.11, map in a file as a Perl variable using mmap(2).
Diffstat (limited to 'devel/p5-Sys-Mmap')
-rw-r--r-- | devel/p5-Sys-Mmap/Makefile | 22 | ||||
-rw-r--r-- | devel/p5-Sys-Mmap/distinfo | 1 | ||||
-rw-r--r-- | devel/p5-Sys-Mmap/pkg-descr | 13 | ||||
-rw-r--r-- | devel/p5-Sys-Mmap/pkg-plist | 7 |
4 files changed, 43 insertions, 0 deletions
diff --git a/devel/p5-Sys-Mmap/Makefile b/devel/p5-Sys-Mmap/Makefile new file mode 100644 index 000000000000..37942d73780f --- /dev/null +++ b/devel/p5-Sys-Mmap/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: Sys-Mmap +# Date created: 25 July 2003 +# Whom: Sergey Skvortsov <skv@protey.ru> +# +# $FreeBSD$ +# + +PORTNAME= Sys-Mmap +PORTVERSION= 0.11 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Sys +PKGNAMEPREFIX= p5- + +MAINTAINER= skv@FreeBSD.org +COMMENT= Map in a file as a Perl variable using mmap(2) + +PERL_CONFIGURE= yes + +MAN3= Sys::Mmap.3 + +.include <bsd.port.mk> diff --git a/devel/p5-Sys-Mmap/distinfo b/devel/p5-Sys-Mmap/distinfo new file mode 100644 index 000000000000..bcd94981960a --- /dev/null +++ b/devel/p5-Sys-Mmap/distinfo @@ -0,0 +1 @@ +MD5 (Sys-Mmap-0.11.tar.gz) = a060000bf162555fb7151ae5f2bf79f3 diff --git a/devel/p5-Sys-Mmap/pkg-descr b/devel/p5-Sys-Mmap/pkg-descr new file mode 100644 index 000000000000..59238920b673 --- /dev/null +++ b/devel/p5-Sys-Mmap/pkg-descr @@ -0,0 +1,13 @@ +The Mmap module lets you use mmap to map in a file as a Perl variable +rather than reading the file into dynamically allocated memory. + +The advantage of this is that several processes may share one copy of +the file or string, saving memory, and concurrently making changes to +portions of the file or string. When not used with a file, it is an +alternative to SysV shared memory that places no arbitrary size limits +on the shared memory area, and efficiently handles sparse memory usage. + +WWW: http://search.cpan.org/dist/Sys-Mmap/ + +-- Sergey Skvortsov +skv@FreeBSD.org diff --git a/devel/p5-Sys-Mmap/pkg-plist b/devel/p5-Sys-Mmap/pkg-plist new file mode 100644 index 000000000000..c7c2b4558251 --- /dev/null +++ b/devel/p5-Sys-Mmap/pkg-plist @@ -0,0 +1,7 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Sys/Mmap/.packlist +%%SITE_PERL%%/%%PERL_ARCH%%/Sys/Mmap.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Sys/Mmap/Mmap.bs +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Sys/Mmap/Mmap.so +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Sys/Mmap +@unexec rmdir %D/%%SITE_PERL%%/Sys 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Sys 2>/dev/null || true |