Add p5-IPC-Mmap 0.11, provides a minimal mmap() interface for both POSIX
and Win32. PR: ports/100256 Submitted by: Gea-Suan Lin <gslin at gslin.org>
This commit is contained in:
parent
0e29681c02
commit
f35d883828
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=167862
@ -1083,6 +1083,7 @@
|
||||
SUBDIR += p5-IPC-DirQueue
|
||||
SUBDIR += p5-IPC-Locker
|
||||
SUBDIR += p5-IPC-MM
|
||||
SUBDIR += p5-IPC-Mmap
|
||||
SUBDIR += p5-IPC-Run
|
||||
SUBDIR += p5-IPC-Run3
|
||||
SUBDIR += p5-IPC-ShareLite
|
||||
|
28
devel/p5-IPC-Mmap/Makefile
Normal file
28
devel/p5-IPC-Mmap/Makefile
Normal file
@ -0,0 +1,28 @@
|
||||
# New ports collection makefile for: p5-IPC-Mmap
|
||||
# Date created: 2006-07-14
|
||||
# Whom: Gea-Suan Lin <gslin@gslin.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= IPC-Mmap
|
||||
PORTVERSION= 0.11
|
||||
CATEGORIES= devel perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= IPC
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= gslin@gslin.org
|
||||
COMMENT= Provides a minimal mmap() interface for both POSIX and Win32
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
MAN3= IPC::Mmap.3
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PERL_LEVEL} < 500800
|
||||
IGNORE= requires perl 5.8.0 or later. Install lang/perl5.8 then try again
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
3
devel/p5-IPC-Mmap/distinfo
Normal file
3
devel/p5-IPC-Mmap/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (IPC-Mmap-0.11.tar.gz) = 8d63fa396234d6989e9506b13ccb269b
|
||||
SHA256 (IPC-Mmap-0.11.tar.gz) = ede1b97e75571da13c6ec7f414a92d8f8797aa47744212cd677219a11b63da8f
|
||||
SIZE (IPC-Mmap-0.11.tar.gz) = 18298
|
19
devel/p5-IPC-Mmap/pkg-descr
Normal file
19
devel/p5-IPC-Mmap/pkg-descr
Normal file
@ -0,0 +1,19 @@
|
||||
Provides an object-oriented interface to either the POSIX mmap() or
|
||||
Win32 equivalent APIs to memory map a file into a process's address
|
||||
space for general memory access. IPC::Mmap provides only a minimal
|
||||
interface without the additional overhead of tie'd variables or
|
||||
locking enforced in other modules (e.g., Sys::Mmap, Win32::MMF); hence,
|
||||
the application is responsible for performing read()'s and write()'s
|
||||
on the IPC::Mmap object, and calling any needed lock() and unlock()
|
||||
methods, as required by concurrent processes.
|
||||
|
||||
Memory mapped files provide an alternate shared memory mechanism for
|
||||
multiple processes. The technique maps the OS's file system buffers
|
||||
for a given file into each mmap()'ing process's virtual memory space,
|
||||
thereby permitting each process to essentially share the same physical
|
||||
memory. Refer to the excellent "Advanced Programming in the UNIX
|
||||
Environment", Stevens et al., Addison-Wesley Publisher for a detailed
|
||||
reference on the POSIX implementation. IPC::Mmap provides OS-agnostic
|
||||
wrappers for both the POSIX and Win32 memory mapped file capabilities.
|
||||
|
||||
WWW: http://search.cpan.org/dist/IPC-Mmap/
|
12
devel/p5-IPC-Mmap/pkg-plist
Normal file
12
devel/p5-IPC-Mmap/pkg-plist
Normal file
@ -0,0 +1,12 @@
|
||||
@comment $FreeBSD$
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/IPC/Mmap/.packlist
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/IPC/Mmap/Mmap.bs
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/IPC/Mmap/Mmap.so
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/IPC/Mmap.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/IPC/Mmap.pod
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/IPC/Mmap/POSIX.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/IPC/Mmap/Win32.pm
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/IPC/Mmap
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/IPC
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/IPC/Mmap
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/IPC
|
Loading…
Reference in New Issue
Block a user