PortSystem       1.0

name             httperf
version          0.9.0
revision         3
categories       www benchmarks
license          {GPL-2+ OpenSSLException}
maintainers      nomaintainer
description      tool for measuring webserver performance
long_description \
    httperf is a tool for measuring web server performance. It \
    provides a flexible facility for generating various HTTP \
    workloads and for measuring server performance. The focus of \
    httperf is not on implementing one particular benchmark but \
    on providing a robust, high-performance tool that \
    facilitates the construction of both micro- and macro-level \
    benchmarks. The three distinguishing characteristics of \
    httperf are its robustness, which includes the ability to \
    generate and sustain server overload, support for the \
    HTTP/1.1 protocol, and its extensibility to new workload \
    generators and performance measurements.
homepage         http://www.hpl.hp.com/research/linux/httperf/
platforms        darwin
master_sites     ftp://ftp.hpl.hp.com/pub/httperf/
checksums        md5 2968c36b9ecf3d98fc1f2c1c9c0d9341 \
                 sha1 2aa885c0c143d809c0e50a6eca5063090bddee35 \
                 rmd160 59580cf5e876b18e69ffb69214c97fbc524be749

depends_lib      path:lib/libssl.dylib:openssl

configure.cppflags

destroot.destdir prefix=${destroot}${prefix} \
                 exec_prefix=${destroot}${prefix}

post-destroot {
    set docdir ${destroot}${prefix}/share/doc/${name}-${version}
    xinstall -d ${docdir}
    xinstall -m 644 -W ${worksrcpath} \
        AUTHORS \
        ChangeLog \
        NEWS \
        README \
        TODO \
        ${docdir}
}