# $Id: Portfile 83381 2011-08-31 00:20:57Z dports@macports.org $

PortSystem 1.0

name			libsigsegv
version			2.9
categories		devel
maintainers		nomaintainer
description		Library for handling page faults in user mode.
long_description	libsigsegv is a library for handling page faults in user \
					mode. A page fault occurs when a program tries to access \
					to a region of memory that is currently not available. \
					Catching and handling a page fault is a useful technique \
					for implementing: pageable virtual memory, memory-mapped \
					access to persistent databases, generational garbage \
					collectors, stack overflow handlers, distributed shared \
					memory, etc.
homepage		http://libsigsegv.sourceforge.net/
platforms		darwin
license                 GPL-2+
master_sites	gnu:libsigsegv

checksums		sha1    b15af8522d2b94a815c0641df62343189b225363 \
			rmd160  fa733cb3ee09515be326363a0786740beb2de17c

test.run		yes
test.target		check

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

post-destroot	{
	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS PORTING \
		README README.woe32 ${destroot}${prefix}/share/doc/${name}
}
