[65484] trunk/dports/www/autobench

ryandesign at macports.org ryandesign at macports.org
Fri Mar 26 11:37:59 PDT 2010


Revision: 65484
          http://trac.macports.org/changeset/65484
Author:   ryandesign at macports.org
Date:     2010-03-26 11:37:55 -0700 (Fri, 26 Mar 2010)
Log Message:
-----------
autobench:

 * add gawk runtime dependency because bench2graph uses it
 * patch bench2graph to use /bin/bash instead of /bin/sh so echo -n works right on Leopard and up
 * disable universal variant since it doesn't build a universal binary

See #23760

Modified Paths:
--------------
    trunk/dports/www/autobench/Portfile

Added Paths:
-----------
    trunk/dports/www/autobench/files/patch-bench2graph.diff

Modified: trunk/dports/www/autobench/Portfile
===================================================================
--- trunk/dports/www/autobench/Portfile	2010-03-26 18:29:04 UTC (rev 65483)
+++ trunk/dports/www/autobench/Portfile	2010-03-26 18:37:55 UTC (rev 65484)
@@ -3,7 +3,7 @@
 PortSystem       1.0
 name             autobench
 version          2.1.2
-revision         1
+revision         2
 categories       www benchmarks
 maintainers      nomaintainer
 description      automatic webserver benchmark tool
@@ -22,14 +22,16 @@
 master_sites     ${homepage}downloads/
 checksums        md5 dbd00818840ed8d3c3d35734f0353cff
 
-depends_run      bin:httperf:httperf
+depends_run      bin:httperf:httperf port:gawk
 
-patchfiles       Makefile.diff
+patchfiles       Makefile.diff patch-bench2graph.diff
 
 configure {
 	reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/Makefile
 }
 
+universal_variant no
+
 livecheck.type   regex
 livecheck.url    [lindex ${master_sites} 0]
 livecheck.regex  ${name}-(\[0-9.\]+)\\.tar

Added: trunk/dports/www/autobench/files/patch-bench2graph.diff
===================================================================
--- trunk/dports/www/autobench/files/patch-bench2graph.diff	                        (rev 0)
+++ trunk/dports/www/autobench/files/patch-bench2graph.diff	2010-03-26 18:37:55 UTC (rev 65484)
@@ -0,0 +1,8 @@
+--- bench2graph.orig	2004-05-27 11:59:27.000000000 -0500
++++ bench2graph	2010-03-26 13:33:38.000000000 -0500
+@@ -1,4 +1,4 @@
+-#!/bin/sh
++#!/bin/bash
+ #
+ # BenchToGraph : Graph modeler for Autobench results files
+ # written by Samuel Dupas <samuel.dupas at synaptique.co.uk>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100326/710c5e15/attachment.html>


More information about the macports-changes mailing list