# $Id: Portfile,v 1.4 2005/05/26 06:03:14 toby Exp $

PortSystem 1.0
name             forkbomb
version          1.4
categories       benchmarks
maintainers      toby@opendarwin.org
description      System stress testing tool
long_description \
    forkbomb is tool for stress testing. It can create many processes \
    using fork(), eats all available memory using realloc() and \
    accesses this memory. It has different switches for fine-tuning \
    operation. While classic fork() bomb is good only for fun, \
    running multiple memory-eaters can be useful for determining \
    maximum memory which can be given to servers (bind or squid) \
    without taking machine down. You can test different operation \
    systems with this tool and see how they are handling the load.
homepage         http://home.tiscali.cz:8080/~cz210552/forkbomb.html
platforms        darwin

master_sites     http://home.tiscali.cz:8080/~cz210552/distfiles/
checksums        md5 b806797a61a46c7176857bf24597a1b8

patch {
    reinplace s|/man|/share/man| ${worksrcpath}/Makefile
}

configure        {}

destroot.destdir DESTDIR=${destroot} PREFIX=${prefix}
