# $Id$

PortSystem			1.0

name				ossp-mm
version				1.4.2
categories			devel
license				BSD-old
maintainers			nomaintainer
description			Shared Memory Allocation
long_description \
	OSSP mm is a 2-layer abstraction library which simplifies the usage of \
	shared memory between forked (and this way strongly related) processes \
	under Unix platforms. On the first (lower) layer it hides all platform \
	dependent implementation details (allocation and locking) when dealing \
	with shared memory segments and on the second (higher) layer it \
	provides a high-level malloc(3)-style API for a convenient and well \
	known way to work with data-structures inside those shared memory \
	segments.

platforms			darwin

homepage			http://www.ossp.org/pkg/lib/mm/
master_sites		ftp://ftp.ossp.org/pkg/lib/mm/

checksums			md5 bdb34c6c14071364c8f69062d2e8c82b \
					sha1 b7327c5b4ec5913ff619ccac8a19d7ec9b0166df
distname			mm-${version}

patchfiles			Makefile.in.patch

configure.args		--mandir=${prefix}/share/man

post-destroot {
	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath} ChangeLog LICENSE PORTING README \
		THANKS ${destroot}${prefix}/share/doc/${name}
}