Add p5-Sys-Mmap 0.11, map in a file as a Perl variable using mmap(2).

This commit is contained in:
Sergey Skvortsov 2003-08-07 06:48:38 +00:00
parent e282bb9df0
commit f4f1ebe628
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=86446
5 changed files with 44 additions and 0 deletions

View File

@ -724,6 +724,7 @@
SUBDIR += p5-String-RexxParse
SUBDIR += p5-String-Similarity
SUBDIR += p5-Sub-Uplevel
SUBDIR += p5-Sys-Mmap
SUBDIR += p5-System2
SUBDIR += p5-Term-ANSIColor
SUBDIR += p5-Term-ANSIScreen

View File

@ -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>

View File

@ -0,0 +1 @@
MD5 (Sys-Mmap-0.11.tar.gz) = a060000bf162555fb7151ae5f2bf79f3

View File

@ -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

View File

@ -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