| 1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
|---|
| 2 | # $Id: Portfile 78632 2011-05-14 22:50:58Z ryandesign@macports.org $ |
|---|
| 3 | |
|---|
| 4 | PortSystem 1.0 |
|---|
| 5 | |
|---|
| 6 | name stress |
|---|
| 7 | version 1.0.4 |
|---|
| 8 | revision 0 |
|---|
| 9 | platforms darwin |
|---|
| 10 | categories sysutils benchmarks |
|---|
| 11 | maintainers gwmail.gwu.edu:egall openmaintainer |
|---|
| 12 | description ${name} is a deliberately simple workload generator for POSIX systems. |
|---|
| 13 | license GPL-2+ |
|---|
| 14 | long_description ${description} It imposes a configurable amount of \ |
|---|
| 15 | CPU, memory, I/O, and disk stress on the system. |
|---|
| 16 | |
|---|
| 17 | homepage http://weather.ou.edu/%7Eapw/projects/${name}/ |
|---|
| 18 | master_sites ${homepage} |
|---|
| 19 | |
|---|
| 20 | checksums rmd160 2fc0896ae9039776dee3351205d7e2496a36cfe4 \ |
|---|
| 21 | sha256 369c997f65e8426ae8b318d4fdc8e6f07a311cfa77cc4b25dace465c582163c0 |
|---|
| 22 | |
|---|
| 23 | variant autoreconf description {Regenerates configure script before building. \ |
|---|
| 24 | Also pulls in extra dependencies.} { |
|---|
| 25 | depends_build-append port:autoconf-archive \ |
|---|
| 26 | port:gawk \ |
|---|
| 27 | port:grep \ |
|---|
| 28 | bin:rpmbuild:rpm \ |
|---|
| 29 | bin:rcs2log:cvs \ |
|---|
| 30 | port:texinfo \ |
|---|
| 31 | port:pkgconfig \ |
|---|
| 32 | bin:help2man:help2man |
|---|
| 33 | use_autoreconf yes |
|---|
| 34 | autoreconf.args -fvi |
|---|
| 35 | configure.args-append --disable-silent-rules |
|---|
| 36 | post-extract { |
|---|
| 37 | xinstall -m 644 ${worksrcpath}/configure.in ${worksrcpath}/configure.ac |
|---|
| 38 | file delete ${worksrcpath}/configure.in |
|---|
| 39 | file mkdir ${worksrcpath}/m4 |
|---|
| 40 | file copy ${prefix}/share/aclocal/ax_spec_package_version.m4 ${worksrcpath}/m4 |
|---|
| 41 | file copy ${prefix}/share/aclocal/pkg.m4 ${worksrcpath}/m4 |
|---|
| 42 | file mkdir ${worksrcpath}/build-aux |
|---|
| 43 | file copy ${filespath}/Makefile.spec ${worksrcpath} |
|---|
| 44 | } |
|---|
| 45 | patchfiles-append patch-configure.ac.diff \ |
|---|
| 46 | patch-Makefile.am.diff \ |
|---|
| 47 | patch-src-Makefile.am.diff |
|---|
| 48 | test.run yes |
|---|
| 49 | test.target test |
|---|
| 50 | } |
|---|
| 51 | |
|---|
| 52 | livecheck.type none |
|---|