forked from macports/macports-ports
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPortfile
40 lines (34 loc) · 1.31 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
PortSystem 1.0
name flood
version 20041105
revision 1
categories www
license Apache-2
platforms darwin freebsd
maintainers nomaintainer
description profile-driven HTTP load tester
long_description Flood is a profile-driven HTTP load tester. It can be used \
to gather important performance metrics for your website.
homepage https://httpd.apache.org/test/flood/
master_sites ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/
checksums md5 fe07ea26fc18828d272cd384b74228f8
distname httpd-test_20041105052051
worksrcdir httpd-test/flood
depends_lib port:apr \
port:apr-util \
port:expat
use_autoconf yes
configure.args --with-apr=${prefix}/bin/apr-1-config \
--with-apr-util=${prefix}/bin/apu-1-config
destroot {
xinstall -m 755 -s ${worksrcpath}/flood ${destroot}${prefix}/bin
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/examples
xinstall -m 644 -W ${worksrcpath} CHANGES DESIGN STATUS \
${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath}/examples analyze-relative \
analyze-relative-ramp flood.dtd relative-averages-time.awk \
round-robin-dynamic.xml round-robin-example.xml \
round-robin-keepalive.xml round-robin-relative-reports.xml \
round-robin-ssl.xml round-robin-timed.xml round-robin.xml \
${destroot}${prefix}/share/doc/${name}/examples
}